Click or drag to resize

RouteCalculate Method (UnitSystem, IAsyncDirectionsHandler)

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 through intervening RouteStops.

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

Parameters

units
Type: Telogis.GeoBase.NavigationUnitSystem
The units to return distance in.
handler
Type: Telogis.GeoBase.RoutingIAsyncDirectionsHandler
A handler for asynchronous generation of directions.

Implements

IRouteCalculate(UnitSystem, IAsyncDirectionsHandler)
Remarks
When a route is optimized the order of its RouteStops changes, as may the Start and End points. Thus it will be necessary to recalculate a route after optimization as well as after additional stops are added. Calculation takes into account the designated RoutingStrategy and should be performed if the strategy changes.
See Also