v2.3.0
- Added
VisualInstruction.Component.ShieldRepresentation
struct and theVisualInstruction.Component.ImageRepresentation.shield
property containing metadata for displaying a highway shield consistent with map styles used by the Mapbox Maps SDK. (#644, #647) - Added a
RouteLeg.viaWaypoints
property that lists the non-leg-separating waypoints (also known as “silent waypoints”) along aRouteLeg
. Previously, you had to filterDirectionsOptions.waypoints
to include only the items whoseWaypoints.separatesLegs
property was set totrue
, then zip them withRouteResponse.routes
. This approach still works in some cases but is not guaranteed to be reliable for all Mapbox Directions API responses in the future. (#656)
Documentation is available online or within Xcode.