Class

MapRoute


Description

Information about a route between two locations.

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.

Sample code

Compatibility

iOS and Web project types on all supported operating systems.

See also

Object parent class, MobileMapViewer, WebMapViewer