Click or drag to resize

IRouteCalculate Method (UnitSystem, IAsyncDirectionsHandler, CancellationToken)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Calculates the route, from Start to End allowing cancellation using a CancellationToken.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
void Calculate(
	UnitSystem units,
	IAsyncDirectionsHandler handler,
	CancellationToken cancelToken
)

Parameters

units
Type: Telogis.GeoBase.NavigationUnitSystem
The type of units in which to measure cost.
handler
Type: Telogis.GeoBase.RoutingIAsyncDirectionsHandler
The handler for managing updates to the Directions.
cancelToken
Type: Telogis.GeoBase.ConcurrencyCancellationToken
The cancellation token used to request calculation cancellation.
See Also