3.30.0-rc.1
Pre-release
Pre-release
·
10 commits
to main
since this release
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.30.0-rc.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.30.0-rc.1
MapboxDirections
- Added
RouteOptions.excludedLocationsallowing you to exclude custom locations (such as dangerous entry/exit points, low quality roads, etc.) from routing by coordinate, in addition to the existing road-class-basedRouteOptions.roadClassesToAvoid. This expirimental feature maps to the Directions API's betaexclude=point(longitude latitude)parameter and is currently limited to themapbox/drivingandmapbox/driving-trafficprofiles, with at most 50 locations per request. - Fixed
RouteOptions.roadClassesToAvoid/roadClassesToAllowparsing (from a URL or from an archived/persistedRouteOptions) so that a single unrecognized road-class value no longer discards every other recognized value alongside it, and no longer fails decoding the entireRouteOptionsobject. Surrounding whitespace is now ignored as well, so anexcludeorincludeparameter written the way the Directions API documents it (toll, motorway) is recognized in full.
Other changes
- Fixed the positioning of pole-style route annotations (traffic signals, yield signs, stop signs, lane restrictions, etc.) so their icon is anchored at the base of the pole instead of centered on the whole image, keeping them visually planted on the street as the camera rotates or pitches.