mapRouteLegGeometry

fun mapRouteLegGeometry(routeLeg: RouteLeg): List<ReplayEventBase>

Take a single RouteLeg from the DirectionsRoute and map it to a drive using the LegStep.geometry composed together.

Return

ReplayEventBase

Parameters

routeLeg

the RouteLeg that is converted to replay events