|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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 |
MMBounds bounds
String copyright
Array custom_emission
String disclaimer
Object distance
Object duration
String emissions
String error_code
String error_explanation
String exclude
Array geocoding_errors
String lang
String mode
String optimize_for
String optimize_intermediates
MMPolyLineOverlay polyLine
Array stages
| Constructor Detail |
MMRoute( <Array> locations )
locations - An array of locations representing a route.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||