IRouteGetDirections Method (UnitSystem, String, IAsyncDirectionsHandler, CancellationToken) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets the
Directions for the
route using the specified culture and units allowing cancellation using a
CancellationToken.
Directions events are sent to 'handler' as directions are built.
Namespace:
Telogis.GeoBase.Routing
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax Directions GetDirections(
UnitSystem units,
string culture,
IAsyncDirectionsHandler handler,
CancellationToken cancelToken
)
Function GetDirections (
units As UnitSystem,
culture As String,
handler As IAsyncDirectionsHandler,
cancelToken As CancellationToken
) As Directions
Parameters
- units
- Type: Telogis.GeoBase.NavigationUnitSystem
The units to return distance in. - culture
- Type: SystemString
The culture to use when generating directions. - handler
- Type: Telogis.GeoBase.RoutingIAsyncDirectionsHandler
A set of functions called as directions are being built. - cancelToken
- Type: Telogis.GeoBase.ConcurrencyCancellationToken
The cancellation token used to request calculation cancellation.
Return Value
Type:
DirectionsThe directions for traversing the route.
See Also