Click or drag to resize

IRouteGetTimeAndDistance Method (DistanceUnit, Double, TimeSpan, 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
void GetTimeAndDistance(
	DistanceUnit units,
	out double distance,
	out TimeSpan time,
	CancellationToken cancelToken
)

Parameters

units
Type: Telogis.GeoBaseDistanceUnit
The units to return distance in.
distance
Type: SystemDouble
Populated with the total driving distance for this route.
time
Type: SystemTimeSpan
Populated with the driving time for this route.
cancelToken
Type: Telogis.GeoBase.ConcurrencyCancellationToken
The cancellation token used to request calculation cancellation.
See Also