Click or drag to resize

RouteCalculate 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.98.0.0
Syntax
public void Calculate(
	UnitSystem units,
	IAsyncDirectionsHandler handler,
	CancellationToken cancelToken
)

Parameters

units
Type: Telogis.GeoBase.NavigationUnitSystem
The units to return distance in.
handler
Type: Telogis.GeoBase.RoutingIAsyncDirectionsHandler
A handler for asynchronous generation of directions.
cancelToken
Type: Telogis.GeoBase.ConcurrencyCancellationToken
The cancellation token used to request calculation cancellation.

Implements

IRouteCalculate(UnitSystem, IAsyncDirectionsHandler, CancellationToken)
Remarks