Skip to content

v0.19.0

Compare
Choose a tag to compare
@bsudekum bsudekum released this 21 Mar 21:08
· 741 commits to master since this release

Changes since v0.18.0:

tl:dr

This release includes the ability to make a Mapbox Map Matching request.

Breaking changes

  • CompletionHandler has been renamed to RouteCompletionHandler to give room for MatchCompletionHandler.

Map Matching

  • Adds new class Match. A Match object defines a single route that was created from a series of points that were matched against a road network.
  • Adds new class MatchOptions. A MatchOptions object is a structure that specifies the criteria for results returned by the Mapbox Map Matching API.
  • Adds Directions.calculate(matchOptions:completionHandler:) which returns a Match.
  • Adds Directions.calculateRoutes(matching:completionHandler:). This is useful for creating a Route from a map matching request.

Documentation is available online or within Xcode.