Direction Class | ![]() |
Namespace: Telogis.GeoBase.Routing
The Direction type exposes the following members.
Name | Description | |
---|---|---|
![]() | Distance |
The distance to travel before the instruction is executed.
e.g. "After (x.Value) (x.Units), turn left onto Main St".
|
![]() | Duration |
Gets a TimeSpan indicating the total duration of the current
Direction from its start to its end.
|
![]() | Heading |
Gets the CompassDirection that this Direction
sends the driver.
|
![]() | HeadingString |
Gets a string representing the compass direction this Direction
will send the driver. eg "North-East".
|
![]() | Instructions |
Gets a string containing driving instructions.
|
![]() | IsArrival |
Gets a bool indicating whether this Direction
indicates arrival at a stop.
|
![]() | IsDeparture |
Gets a bool indicating whether this Direction
indicates departure from a stop.
|
![]() | Location |
Gets the location of this direction.
|
![]() | Notes | |
![]() | Points |
Gets an array of LatLons representing
this Direction.
|
![]() | RenderPen |
The pen used to draw the direction on the map.
|
![]() | RequiredRendermodes |
Gets the RenderMode required by this Direction.
|
![]() | Street |
Gets the name of the street the Direction will put the driver on to.
|
![]() | Time |
Gets a TimeSpan indicating the interval between the previous
Direction ending and the current Direction beginning.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetDistance |
Gets the distance to travel before the instruction is executed.
e.g. "After (x) units, turn left onto Main St".
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Render |
Draws an arrow on a map indicating the flow of this Direction |
![]() | ToString |
Returns this object as a human-readable string.
(Overrides ObjectToString.) |
![]() | ZoomTo(IMap) |
Ensures that routing directions are visible on the current map. See remarks.
|
![]() | ZoomTo(IMap, Boolean) |
Forces the map to zoom and center on the routing direction.
|
Related articles: Routing Concept, Routing and Directions, Using Directions.