Matchable Geometry
data class MatchableGeometry(roadObjectId: String, coordinates: List<Point>)
Content copied to clipboard
The record represents the raw data which could be matched to the road graph. Might be used to match:
gantries, with exactly two coordinates
lines, with two or more coordinates
polygons, with three or more coordinates
NOTE: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
Parameters
roadObjectId
unique id of the object
coordinates
list of points representing the geometry
Constructors
MatchableGeometry
Link copied to clipboard
unique id of the object
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
copy
Link copied to clipboard
fun copy(roadObjectId: String, coordinates: List<Point>): MatchableGeometry
Content copied to clipboard