MapboxNavigation.roadObjectsStore provides methods to get road objects metadata, add and remove custom road objects.
Adds road object to be tracked in electronic horizon. In case if object with such id already exists updates it.
Returns roadObject, if such object cannot be found returns null.
Returns list of road object ids which are (partially) belong to edgeIds.
Returns mapping road object id -> RoadObjectEdgeLocation for all road objects which are lying on the edge with given id.
road object id -> RoadObjectEdgeLocation
Returns a list of UpcomingRoadObject
Removes all custom road objects (i.e. stops tracking them in electronic horizon)
Removes custom road object (i.e. stops tracking it in electronic horizon)