v1.0.0
- Added the
Directions.refreshRoute(responseIdentifier:routeIndex:fromLegAtIndex:completionHandler:)
method for refreshing attributes along the legs of a route and theRoute.refreshLegAttributes(from:)
method for merging the refreshed attributes into an existing route. To enable route refreshing for the routes in a particular route response, setRouteOptions.refreshingEnabled
totrue
before passing theRouteOptions
object intoDirections.calculate(_:completionHandler:)
. (#420) - Fixed a crash that could occur if the Mapbox Directions API includes unrecognized
RoadClasses
values in its response. (#450) - Fixed malformed
RouteStep.shape
values that could occur whenRouteStep.maneuverType
isManeuverType.arrive
,DirectionsOptions.shapeFormat
isRouteShapeFormat.polyline6
, and the Mapbox Directions API returns certain encoded Polyline strings. (#456) - Restored the
DirectionsOptions.urlQueryItems
property so that subclasses ofRouteOptions
andMatchOptions
can add any additional URL query parameters that are supported by the Mapbox Directions and Map Matching APIs. (#461)
Documentation is available online or within Xcode.