Click or drag to resize

DirectionsFactory Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A DirectionsFactory is used to generate Directions from an array of LatLons, which would have, typically, been created outside of GeoBase. This is useful for when third party routing engines are employed.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.RoutingDirectionsFactory

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

The DirectionsFactory type exposes the following members.

Constructors
  NameDescription
Public methodDirectionsFactory
Create a DirectionsFactory using an array of LatLons describing points along a pre-calculated route.
Top
Methods
  NameDescription
Public methodAddMovement
Use to add departure, turns and arrival points to the directions.
Public methodAddNote
Add a note to a direction for the given movement.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGenerateDirections
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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.

See Also