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.

  • If true, the input locations are re-sampled for improved map matching results. The default is false.