Click or drag to resize

RouteGetTimeAndDistance Method (DistanceUnit, Double, TimeSpan, LinkCost, CancellationToken)

Verizon Connect Logo
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
public void GetTimeAndDistance(
	DistanceUnit units,
	out double distance,
	out TimeSpan time,
	LinkCost maxCost,
	CancellationToken cancelToken
)

Parameters

units
Type: Telogis.GeoBaseDistanceUnit
The units to return distance in.
distance
Type: SystemDouble
The total driving distance for this route.
time
Type: SystemTimeSpan
The driving time for this route.
maxCost
Type: Telogis.GeoBase.RoutingLinkCost
The maximum cost of the route - if this cost is exceeded, then a RouteExceedsCostException is thrown.
cancelToken
Type: Telogis.GeoBase.ConcurrencyCancellationToken
The cancellation token used to request calculation cancellation.

Implements

IRouteGetTimeAndDistance(DistanceUnit, Double, TimeSpan, LinkCost, CancellationToken)
Remarks
See also .
See Also