Click or drag to resize

Direction Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Abstract base class representing a driving direction (instruction) in a route. The direction may be either a Note or a Movement.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public abstract class Direction : IMapRenderer

The Direction type exposes the following members.

Properties
  NameDescription
Public propertyDistance
The distance to travel before the instruction is executed. e.g. "After (x.Value) (x.Units), turn left onto Main St".
Public propertyDuration
Gets a TimeSpan indicating the total duration of the current Direction from its start to its end.
Public propertyHeading
Gets the CompassDirection that this Direction sends the driver.
Public propertyHeadingString
Gets a string representing the compass direction this Direction will send the driver. eg "North-East".
Public propertyInstructions
Gets a string containing driving instructions.
Public propertyIsArrival
Gets a bool indicating whether this Direction indicates arrival at a stop.
Public propertyIsDeparture
Gets a bool indicating whether this Direction indicates departure from a stop.
Public propertyLocation
Gets the location of this direction.
Public propertyNotes
Gets an ArrayList of Notes attached to this Direction
Public propertyPoints
Gets an array of LatLons representing this Direction.
Public propertyRenderPen
The pen used to draw the direction on the map.
Public propertyRequiredRendermodes
Gets the RenderMode required by this Direction.
Public propertyStreet
Gets the name of the street the Direction will put the driver on to.
Public propertyTime
Gets a TimeSpan indicating the interval between the previous Direction ending and the current Direction beginning.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetDistance
Gets the distance to travel before the instruction is executed. e.g. "After (x) units, turn left onto Main St".
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRender
Draws an arrow on a map indicating the flow of this Direction
Public methodToString
Returns this object as a human-readable string.
(Overrides ObjectToString.)
Public methodZoomTo(IMap)
Ensures that routing directions are visible on the current map. See remarks.
Public methodZoomTo(IMap, Boolean)
Forces the map to zoom and center on the routing direction.
Top
Remarks
See Also