Road Objects Store
class RoadObjectsStore
Content copied to clipboard
MapboxNavigation.roadObjectsStore provides methods to get road objects metadata, add and remove custom road objects.
Functions
addCustomRoadObject
Link copied to clipboard
getRoadObject
Link copied to clipboard
getRoadObjectIdsByEdgeIds
Link copied to clipboard
getRoadObjectsOnTheEdge
Link copied to clipboard
fun getRoadObjectsOnTheEdge(edgeId: Long): Map<String, RoadObjectEdgeLocation>
Content copied to clipboard
getUpcomingRoadObjects
Link copied to clipboard
fun getUpcomingRoadObjects(distances: List<RoadObjectDistanceInfo>): List<UpcomingRoadObject>
Content copied to clipboard
removeAllCustomRoadObjects
Link copied to clipboard
removeCustomRoadObject
Link copied to clipboard