IRouteGetDirections Method (UnitSystem, String, CancellationToken) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Namespace:
Telogis.GeoBase.Routing
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax Directions GetDirections(
UnitSystem units,
string culture,
CancellationToken cancelToken
)
Function GetDirections (
units As UnitSystem,
culture As String,
cancelToken As CancellationToken
) As Directions
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. - culture
- Type: SystemString
The culture that determines the language to use for instructions; for example "en-US". - cancelToken
- Type: Telogis.GeoBase.ConcurrencyCancellationToken
The cancellation token used to request calculation cancellation.
Return Value
Type:
DirectionsThe directions for traversing the route.
See Also