v0.19.0
tl:dr
This release includes the ability to make a Mapbox Map Matching request.
Breaking changes
CompletionHandler
has been renamed toRouteCompletionHandler
to give room forMatchCompletionHandler
.
Map Matching
- Adds new class
Match
. AMatch
object defines a single route that was created from a series of points that were matched against a road network. - Adds new class
MatchOptions
. AMatchOptions
object is a structure that specifies the criteria for results returned by the Mapbox Map Matching API. - Adds
Directions.calculate(matchOptions:completionHandler:)
which returns aMatch
. - Adds
Directions.calculateRoutes(matching:completionHandler:)
. This is useful for creating aRoute
from a map matching request.
Documentation is available online or within Xcode.