MapboxRestAreaApi
class MapboxRestAreaApi @JvmOverloads constructor(val options: MapboxRestAreaOptions = MapboxRestAreaOptions.Builder().build())
Content copied to clipboard
Mapbox Rest Area Api allows you to generate service area and parking area information for select maneuvers.
Constructors
Link copied to clipboard
fun MapboxRestAreaApi(options: MapboxRestAreaOptions = MapboxRestAreaOptions.Builder().build())
Content copied to clipboard
Functions
Link copied to clipboard
fun generateRestAreaGuideMap(instructions: BannerInstructions, consumer: MapboxNavigationConsumer<Expected<RestAreaGuideMapError, RestAreaGuideMapValue>>)
Content copied to clipboard
The method takes in BannerInstructions and generates rest area guide map based on the presence of BannerComponents of type BannerComponents.GUIDANCE_VIEW and subType BannerComponents.SAPAGUIDEMAP
Link copied to clipboard
fun generateUpcomingRestAreaGuideMap(routeProgress: RouteProgress, consumer: MapboxNavigationConsumer<Expected<RestAreaGuideMapError, RestAreaGuideMapValue>>)
Content copied to clipboard
The method takes in RouteProgress and generates rest area guide map based on the presence of RestStop.guideMapUri.