v1.2.0
Packaging
- Added support for building and running on any Linux distribution supported by Swift. (#488)
- Added the
MapboxDirectionsCLI
command line tool that round-trips Mapbox Directions API responses between JSON format and Swift model objects. (#469)
Other changes
- Added the
RouteStep.segmentIndicesByIntersection
property for associatingIntersection
s with portions of the step’s shape. (#490) - Added the
Intersection.outletMapboxStreetsRoadClass
property that indicates a more detailed road classification than the existingIntersection.outletRoadClasses
property. (#507) - Added the
RouteLeg.incidents
property that indicates known traffic incidents, toll collection points, rest areas, and border crossings along the route leg. (#466, #506) - Added the
RouteLeg.regionCode(atStepIndex:intersectionIndex:)
method andIntersection.regionCode
property to get the administrative region where an intersection is located, as well as aRouteLeg.administrativeRegions
property that indicates the administrative regions traversed by the route leg. (#466, #485, #506) - Added the
Intersection.tunnelName
,Intersection.tollCollection
,Intersection.restStop
, andIntersection.isUrban
properties. (#466, #506) - The
CongestionLevel
enumeration now conforms to theCaseIterable
protocol. (#500)
Documentation is available online or within Xcode.