Skip to content

v11.26.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@pengdev pengdev released this 30 Jun 14:15

Features ✨ and improvements 🏁

  • [compose] Introduce experimental IndoorSelector composable function available inside MapboxMap, displaying a scrollable floor-selection widget that appears automatically when an indoor building is in view. Exposes IndoorSelectorState for programmatic access to the current floor list and selected floor, and an onFloorClicked callback for reacting to user selections.
  • [compose] Add IndoorSelectorControl headless composable inside MapIndoorSelectorScope: attaches the indoor plugin to an IndoorSelectorState without rendering any UI, enabling custom floor-selector implementations.
  • [compose] Add rotateBy, moveBy, pitchBy, and scaleBy methods to MapViewportState for incremental camera animations.
  • [compose] Add rememberStyleImage(imageId, image9Patch: NinePatchImage) and remember9PatchStyleImage(imageId, bitmap: Bitmap) overloads for nine-patch images.
  • Introduce new experimental ViewAnnotationOptions.enableSymbolLayerCollision option 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 experimental View.mbxCollisionBox flag.
  • Support drawing view annotation collision boxes when MapView.debugOptions is set to COLLISION.
  • Add TileStore option 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 rememberSaveable in remember*SourceState, remember*LightState, and rememberTerrainState functions 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 SecurityException crash 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