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