generateUpcomingRestAreaGuideMap

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.

Parameters

routeProgress

object representing RouteProgress

consumer

informs about the state of sapa guide map.