Class
MapRoute
Description
Information about a route between two locations.
Properties
Name |
Type |
Read-Only |
Shared |
---|---|---|---|
Enumerations
MapRoute.TransportTypes
TransportTypes
The various ways one can move between locations.
Name
Car
Bike
Walking
Transit
Property descriptions
MapRoute.DistanceMeters
DistanceMeters As Double
The distance in meters between the start and end of the route.
MapRoute.DurationSeconds
DurationSeconds As Double
The estimated time required to travel between the starting and ending locations.
MapRoute.GeoJSON
GeoJSON As JSONItem
The route locations in JSON format.
If you store this data, you can then later assign it to this property to recreate the route without having to make another routing request.
MapRoute.TransportType
TransportType As MapRoute.TransportTypes
The method of transport to be used to move between the two locations.
Compatibility
Project Types |
Mobile, Web |
Operating Systems |
iOS, Linux, macOS, Windows |
See also
Object parent class, MobileMapViewer, WebMapViewer