v11.0.0-beta.4
Pre-release
Pre-release
·
1204 commits
to main
since this release
11.0.0-beta.4 September 21, 2023
Breaking changes ⚠️
- Remove setter functions for
Style.styleURIandStyle.styleJSONas loading the style should happen only withMapboxMap.loadStyle. - Rename
StyleImageMissing.getStyleImageMissingEventDatatoStyleImageMissing.toStyleImageMissingEventData.
Features ✨ and improvements 🏁
- Introduce experimental APIs to work with Custom Raster Sources:
MapboxMap.addCustomRasterSource,MapboxMap.setCustomRasterSourceTileData,MapboxMap.invalidateCustomRasterSourceTile,MapboxMap.invalidateCustomRasterSourceRegion. - Copy relevant
Stylemethods toMapboxMapproviding better alignment with iOS and GL-JS. - Add
FillExtrusionLayer.fillExtrusionCutoffFadeRangeandModelLayer.modelCutoffFadeRangeto control fade out of the layers when pitch is used. - Improve atmosphere rendering performance.
- Improve fill layer and model layer rendering performance on high pitch views.
- Improve GPU performance by drawing opaque 3D geometry without blending.
- Introduce experimental
SymbolLayer.symbolZElevateproperty to elevate symbols along with the buildings that are in the same place. The feature is supported for symbols with point placement only. - Add
Atmosphere.verticalRangeproperty.
Bug fixes 🐞
- Free resources immediately after map event subscription is canceled.
- Fix map event listeners not being removed when
MapboxMap.remove*Listeneris called. - Fix issue where the terrain didn't work if defined within a style fragment.
- The Custom Geometry Source
fetchTileFunctionandcancelTileFunctioncallbacks are invoked on the client thread. - Fixes a rendering error that broke symbol layers on Samsung S22 devices.
- Cache featureState for newly added source in case it is not available in renderer.
- Fix issue with model layer blending with geometry tile source.
- Fix incorrectly set begin timestamp for the RenderFrameFinished event.
Dependencies
- Update gl-native to v11.0.0-beta.5 and common to v24.0.0-beta.5.