RouteRefreshOptions
class RouteRefreshOptions
Content copied to clipboard
The options available for refreshing the active DirectionsRoute. Each refresh will update the current route's LegAnnotation. This includes traffic congestion and estimated travel time.
Make sure that RouteOptions.enableRefresh is true to take advantage of this feature.
Parameters
intervalMillis
The refresh interval in milliseconds, default is 5 min.