Replay Route Mapper
class ReplayRouteMapper @JvmOverloads() constructor(options: ReplayRouteOptions)
Content copied to clipboard
This class converts a DirectionsRoute into events that can be replayed using the MapboxReplayer to navigate a route.
Constructors
ReplayRouteMapper
Link copied to clipboard
fun ReplayRouteMapper(options: ReplayRouteOptions = ReplayRouteOptions.Builder().build(), logger: Logger)
Content copied to clipboard
ReplayRouteMapper
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Types
Functions
mapDirectionsRouteGeometry
Link copied to clipboard
fun mapDirectionsRouteGeometry(directionsRoute: DirectionsRoute): List<ReplayEventBase>
Content copied to clipboard
mapDirectionsRouteLegAnnotation
Link copied to clipboard
fun mapDirectionsRouteLegAnnotation(directionsRoute: DirectionsRoute): List<ReplayEventBase>
Content copied to clipboard
mapGeometry
Link copied to clipboard
mapRouteLegAnnotation
Link copied to clipboard
mapRouteLegGeometry
Link copied to clipboard
Properties
options
Link copied to clipboard