From MapElves
Main page -> Help -> axMapPointControl -> ActiveMap -> ActiveRoute
Overview
The Route object from the map. MapPoint has only one route per map. If a route does not currently exist for a map file, returns a route with no waypoints.
Properties
| Cost | | Returns the total cost of a route.
|
| Directions | | Returns the Directions collection for the specified route or direction, if any.
|
| Distance | | Returns the total distance of a route or route segment.
|
| DriverProfile | | Returns the DriverProfile object, which contains settings for route options.
|
| DrivingTime | | Returns the total driving time for a route.
|
| IsCalculated | | Returns whether the route is calculated.
|
| TripTime | | Returns the total amount of travel time for the entire route.
|
| Waypoints | | Returns the Waypoints collection for the specified route.
|
Methods
| Calculate | | Calculates a route based on two or more waypoints and generates driving directions.
|
| Clear | | Clears a route from the map.
|
How to