android-v10.0.0-beta.21
Pre-release
Pre-release
·
1458 commits
to main
since this release
10.0.0-beta.21- June 3, 2021
Breaking changes ⚠️
- Align load style functions for MapboxMap and Snapshotter. (#371)
Snapshotter.setUri(uri: String) -> Snapshotter.setStyleUri(styleUri: String)
Snapshotter.getUri()-> Snapshotter.getStyleUri()
Snapshotter.setJson(styleJson: String) -> Snapshotter.setStyleJson(styleJson: String)
Snapshotter.getJson()-> Snapshotter.getStyleJson()
MapboxMap.loadStyleJSON(styleJson: String) -> MapboxMap.loadStyleJson(styleJson: String)
- Change the default ambient cache path to
.mapbox/maps/ambient_cache.db
(#373) - Move text-font property from PointAnnotation to PointAnnotationManager (#375)
- Remove CredentialsManager in favour of ResourceOptionsManager (#365)
- Introduce separate minZoom/maxZoom fields into CustomGeometrySourceOptions API instead of the formerly used "zoomRange"
Features ✨ and improvements 🏁
- Rework setPrefetchZoomDelta to reduce loading of expensive tiles and optimize zoom use-case (#1850)
- Send billing event when Map is loaded
Bug fixes 🐞
- Fixed an issue that causes OnStyleLoaded callback not fired when there's a sprite loading error. (#358)
- Update map camera on first animator update. (#352)
- Fix crash due to missing access token (#365)
- Call style loaded callback if data set directly to geojson. (#377)
- Geojson async data parsing: fixes and improvements. (#380)
- Fix terrain transparency issue when a sky layer is not used
- Make style pack resources immutable protecting the style pack from getting out of sync in case the style is updated remotely