RoadObjectMatcher

class RoadObjectMatcher

MapboxNavigation.roadObjectMatcher provides methods to match custom road objects.

Functions

cancel
Link copied to clipboard
fun cancel(roadObjectIds: List<String>)
Cancel road objects matching
cancelAll
Link copied to clipboard
fun cancelAll()
Cancel all road objects matching
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
matchGantryObject
Link copied to clipboard
fun matchGantryObject(roadObjectId: String, gantry: List<Point>)
Matches given gantry (i.e.
matchGantryObjects
Link copied to clipboard
fun matchGantryObjects(matchableGeometries: List<MatchableGeometry>, useOnlyPreloadedTiles: Boolean = false)
Matches given gantries (i.e.
matchOpenLRObject
Link copied to clipboard
fun matchOpenLRObject(roadObjectId: String, openLRLocation: String, openLRStandard: String)
Matches given OpenLR object to the graph.
matchOpenLRObjects
Link copied to clipboard
fun matchOpenLRObjects(matchableOpenLrs: List<MatchableOpenLr>, useOnlyPreloadedTiles: Boolean = false)
Matches given OpenLR objects to the graph.
matchPointObject
Link copied to clipboard
fun matchPointObject(roadObjectId: String, point: Point)
Matches given point to road graph.
matchPointObjects
Link copied to clipboard
fun matchPointObjects(matchablePoints: List<MatchablePoint>, useOnlyPreloadedTiles: Boolean = false)
Matches given points to road graph.
matchPolygonObject
Link copied to clipboard
fun matchPolygonObject(roadObjectId: String, polygon: List<Point>)
Matches given polygon to graph.
matchPolygonObjects
Link copied to clipboard
fun matchPolygonObjects(matchableGeometries: List<MatchableGeometry>, useOnlyPreloadedTiles: Boolean = false)
Matches given polygons to graph.
matchPolylineObject
Link copied to clipboard
fun matchPolylineObject(roadObjectId: String, polyline: List<Point>)
Matches given polyline to graph.
matchPolylineObjects
Link copied to clipboard
fun matchPolylineObjects(matchableGeometries: List<MatchableGeometry>, useOnlyPreloadedTiles: Boolean = false)
Matches given polylines to graph.
registerRoadObjectMatcherObserver
Link copied to clipboard
fun registerRoadObjectMatcherObserver(roadObjectMatcherObserver: RoadObjectMatcherObserver)
Register road object matcher observer.
toString
Link copied to clipboard
open fun toString(): String