IAsyncRouteCalculatorRecalculateRouteAsync Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Namespace:
Telogis.GeoBase.Navigation
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax bool RecalculateRouteAsync(
RouteStop start,
RouteStop dest,
RoutingStrategy strategy,
RouteProgress routeProgress
)
Function RecalculateRouteAsync (
start As RouteStop,
dest As RouteStop,
strategy As RoutingStrategy,
routeProgress As RouteProgress
) As Boolean
Parameters
- start
- Type: Telogis.GeoBaseRouteStop
The starting point of this route. - dest
- Type: Telogis.GeoBaseRouteStop
The destination point of this route. - strategy
- Type: Telogis.GeoBase.RoutingRoutingStrategy
The routing strategy to use. - routeProgress
- Type: Telogis.GeoBase.RoutingRouteProgress
The delegate method used to update RouteProgress bar. This callback will be called asynchronously,
probably on a worker thread.
Return Value
Type:
BooleanReturns true if the route has been recalculated, or false if it has not. When it returns false,
a subsequent call to this method with the same dest/strategy/routeProgress arguments and VehicleSpec property as previous will not
request a new route calculation, even if "start" argument is different, instead it will check whether the previous route calculation
has finished and return true or false accordingly.
See Also