v11.26.0-rc.1
Pre-release
Pre-release
Features ✨ and improvements 🏁
- [compose] Introduce experimental
IndoorSelectorcomposable function available insideMapboxMap, displaying a scrollable floor-selection widget that appears automatically when an indoor building is in view. ExposesIndoorSelectorStatefor programmatic access to the current floor list and selected floor, and anonFloorClickedcallback for reacting to user selections. - [compose] Add
IndoorSelectorControlheadless composable insideMapIndoorSelectorScope: attaches the indoor plugin to anIndoorSelectorStatewithout rendering any UI, enabling custom floor-selector implementations. - [compose] Add
rotateBy,moveBy,pitchBy, andscaleBymethods toMapViewportStatefor incremental camera animations. - [compose] Add
rememberStyleImage(imageId, image9Patch: NinePatchImage)andremember9PatchStyleImage(imageId, bitmap: Bitmap)overloads for nine-patch images. - Introduce new experimental
ViewAnnotationOptions.enableSymbolLayerCollisionoption which allows view annotations to hide underlying map symbols to avoid visual clutter.
By default, the full bounding box of the view annotation is used for collision detection. If your annotation has a non-rectangular shape, it is highly recommended to mark the specific subviews that should participate via the new experimentalView.mbxCollisionBoxflag. - Support drawing view annotation collision boxes when
MapView.debugOptionsis set toCOLLISION. - Add
TileStoreoption to configure the ambient cache quota, allowing control over how much disk space is used for ambient cached tile data.
Bug fixes 🐞
- [compose] Pass the identifier as an input to
rememberSaveableinremember*SourceState,remember*LightState, andrememberTerrainStatefunctions so that changing the identifier correctly recreates the saved state. - Fix labels missing on some road segments due to multilinestring geometry parts being dropped during label merging.
- Fix View Annotations sometimes failing to appear on short line segments due to collision detection over-rejection.
- Fix worldview filter not applying correctly after being changed at runtime.
- Fix zoom interpolation expressions not working correctly when symbol layer appearances define different zoom stops for the same property.
- Fix icon cross-fade animation not rendering correctly for icons redefined across appearances.
- Fix symbols with elevation or z-offset not displaying when the map is both rotated and pitched.
- Fix inaccurate coordinate conversion when querying geographic coordinates over terrain.
- Fix
SecurityExceptioncrash on Android 12 (API 31–32) when the Maps SDK registers location broadcast receivers. - Fix a potential crash caused by a use-after-free when evicting decompressed tile data from memory.
- Internal fixes and performance improvements.
Dependencies
- Update gl-native to v11.26.0-rc.1, common to v24.26.0-rc.1.