TrafficRoutingRecalculateRouteTime Method (Directions, LatLon, DateTime) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Recalculate (by accounting for traffic congestion) the time required to complete a given
route (specified as
Directions) starting
at a given time and given that progress has already been made to a certain point.
Namespace:
Telogis.GeoBase.Traffic
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public DateTime RecalculateRouteTime(
Directions dir,
LatLon curPos,
DateTime startTime
)
Public Function RecalculateRouteTime (
dir As Directions,
curPos As LatLon,
startTime As DateTime
) As DateTime
Parameters
- dir
- Type: Telogis.GeoBase.RoutingDirections
The route to travel. Directions - curPos
- Type: Telogis.GeoBaseLatLon
The location along the route at which the journey begins. - startTime
- Type: SystemDateTime
The time at which the journey is to start. DateTime
Return Value
Type:
DateTimeThe calculated time at which the journey will end. The chronological length of the journey
may be determined from the difference between the return value and the given
startTime parameter.
See Also