WarningsAlongRoute

Retrieves forecasted warnings along the given route when the user reaches a specific point on the route

In order to get warnings it is necessary to request routes with specific RouteOptions.annotationsList. At a minimum DirectionsCriteria.ANNOTATION_DURATION is necessary in that list.

Parameters

route

which geometry

currentRouteGeometryIndex

defines how many points of the given route should be skipped. Can be taken from RouteProgress.currentRouteGeometryIndex

fields

weather data fields to retrieve. If not specified, all available fields are included.

Types

Link copied to clipboard
class Builder(route: NavigationRoute)
Link copied to clipboard
abstract class Fields

Functions