Class MMRoute

Object
   |
   +--MMRoute

class MMRoute



Defined in MultimapOpenAPI


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
          Specifies language to use for route instructions.
 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'.
 String optimize_intermediates
          Specifies whether to re-order route stages to visit locations in the most efficient order.
 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.
 

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

mode

String mode

optimize_for

String optimize_for

optimize_intermediates

String optimize_intermediates

polyLine

MMPolyLineOverlay polyLine

stages

Array stages

Constructor Detail

MMRoute

MMRoute( <Array> locations )


Documentation generated by JSDoc on Tue Feb 26 16:25:19 2008