MatchOptions
A MatchOptions
object is a structure that specifies the criteria for results returned by the Mapbox Map Matching API.
Pass an instance of this class into the Directions.calculate(_:completionHandler:)
method.
-
Initializes a match options object for matching locations against the road network.
-
Initializes a match options object for matching geographic coordinates against the road network.
-
-
-
-
If true, the input locations are re-sampled for improved map matching results. The default is
false
.