DirectionsFactory Class |
Namespace: Telogis.GeoBase.Routing
The DirectionsFactory type exposes the following members.
Name | Description | |
---|---|---|
DirectionsFactory |
Create a DirectionsFactory using an array of LatLons describing points along a pre-calculated route.
|
Name | Description | |
---|---|---|
AddMovement |
Use to add departure, turns and arrival points to the directions.
| |
AddNote |
Add a note to a direction for the given movement.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GenerateDirections |
Get Directions | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Workflow
The following outlines the workflow for creating Directions from a pre-calculated array of LatLons.
Note
When calling AddMovement, the first entry must be of MovementType Depart, and the final call must be of MovementType Arrive.