Click or drag to resize

RouteGetDirections Method (UnitSystem)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Calculate the route and return a representative Directions object using the specified UnitSystem.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public Directions GetDirections(
	UnitSystem units
)

Parameters

units
Type: Telogis.GeoBase.NavigationUnitSystem
Defines the unit system used when generating natural-language directions. In the USA you would typically use ImperialFeet and in Australia you would typically use Metric. This ensures that the generated directions are given in units familiar to the end user.

Return Value

Type: Directions
Directions for this route. An aborted call returns null.

Implements

IRouteGetDirections(UnitSystem)
Remarks

The GetQuickDirections method also returns a Directions object, but does not generate natural language directions or check for route legality (for example, illegal u-turns).

Related articles: Creating a Route, Using Directions.

See Also