Class MMRoute

Object
   |
   +--MMRoute

class MMRoute



Defined in MultimapAPI


Field Summary
 MMBounds bounds
          The bounds of the entire route.
 String copyright
          The copyright information that must always be displayed with a route.
 Array custom_emission
          An array of object literals containing custom vehicle information to retrieve emissions quantities for, see MMCustomEmission for more information.
 String disclaimer
          A URL for a disclaimer that must always be displayed with a route.
 Object distance
          The total distance of the route.
 Object duration
          The duration of the route.
 String emissions
          Option to request carbon emission quantities for the route
Permitted values - 'true' or 'false'.
 String error_code
          Error code returned from a route request.
 String error_explanation
          Error code explanation returned from a route request.
 String exclude
          Specifies classes of road to try to avoid.
 Array geocoding_errors
          An array of geocoding error codes returned from a route request.
 String lang
          DEPRECATED - Use MMRoute.locale instead
Specifies language to use for route instructions.
 String locale
          Sets the locale for the route.
 String mode
          Specifies mode of route - "driving" (default) or "walking".
 String optimize_for
          Specifies whether to generate the 'quickest' or 'shortest' route; defaults to 'quickest'.
 MMPolyLineOverlay polyLine
          An array of polylines representing the stages of the requested route.
 Array stages
          An array representing the stages of the requested route.
 
Constructor Summary
MMRoute ( <Array> locations )
            The Multimap API Routing module.
 
Method Summary
 void parseInformation()
           Parses the information array of all route steps into an associative array for ease of use.

Field Detail

bounds

MMBounds bounds

copyright

String copyright

custom_emission

Array custom_emission

disclaimer

String disclaimer

distance

Object distance

duration

Object duration

emissions

String emissions

error_code

String error_code

error_explanation

String error_explanation

exclude

String exclude

geocoding_errors

Array geocoding_errors

lang

String lang

locale

String locale

mode

String mode

optimize_for

String optimize_for

polyLine

MMPolyLineOverlay polyLine

stages

Array stages

Constructor Detail

MMRoute

MMRoute( <Array> locations )

Method Detail

parseInformation

void parseInformation()


Documentation generated by JSDoc on Tue Jun 30 13:55:23 2009