Skip to content

Releases: mapbox/mapbox-maps-android

v11.27.0-rc.1

v11.27.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@kediarov kediarov released this 15 Jul 09:42

Features ✨ and improvements 🏁

  • Add cross-source HD road elevation for symbols, so road symbols can align to HD elevation data provided by a separate source.
  • Add support for animating the map's vertical field of view.
  • Improve CPU performance when frequently updating layer properties, such as animating paint and layout values.
  • Improve character rotation for some CJK characters in vertical text mode.

Bug fixes 🐞

  • Fix flickering single-pixel gaps appearing along route lines at elevation feature boundaries as the camera moves.
  • Fix line-aligned labels (such as angled sea names) drifting while panning during the globe-to-mercator zoom transition.
  • Fix radial gradients rendering incorrectly when the focal radius is larger than the outer radius.
  • Fix view annotations not being considered in collision checks against avoid layers, which could result in incorrect placement.
  • Internal fixes and performance improvements.

Dependencies

v11.25.2

Choose a tag to compare

@kediarov kediarov released this 13 Jul 14:54

Bug fixes 🐞

  • Fix a crash that could occur due to filesystem exceptions during persistent storage initialization.

Dependencies

v11.26.0

Choose a tag to compare

@pengdev pengdev released this 10 Jul 10:49

Breaking changes ⚠️

  • Add CameraAnimatorType.VERTICAL_FOV enum constant. This is a source-breaking change for code that uses an exhaustive when over CameraAnimatorType without an else branch, which will no longer compile until the new case is handled.

Features ✨ and improvements 🏁

  • Animate verticalFov along with other camera parameters.
  • Introduce new experimental ViewAnnotationManager.viewAnnotationAvoidRegions which allows to specify rectangular screen regions that view annotations should avoid. View annotations opt in to this behaviour via the new experimental ViewAnnotationOptions.enableAvoidRegions option.
  • Improve landmark route cutout rendering to use uniform opacity fade instead of per-fragment dithering, improving visual quality and performance in navigation scenes with 3D landmarks.

Bug fixes 🐞

  • Fix a crash that could occur when querying rendered features while map layers were being removed.
  • Fix a one-frame flash where layers could briefly disappear while a new shader variant compiled asynchronously.
  • Fix continuous tile reparsing for HD road sources using cross-source elevation on a static map, causing sustained CPU usage.
  • Fix elevated lines with line-elevation-reference: "ground" disappearing from view due to incorrect frustum culling over terrain.
  • Fix gaps appearing in elevated route line geometry at elevation feature boundaries.
  • Internal fixes and performance improvements.

Dependencies

v11.21.10

Choose a tag to compare

@pengdev pengdev released this 10 Jul 13:33

Dependencies

v11.22.4

Choose a tag to compare

@pengdev pengdev released this 07 Jul 13:49

Bug fixes 🐞

  • Fix style import config properties being silently discarded when set during an import URL change.
  • Fix elevated lines with lineElevationReference set to LineElevationReference.GROUND disappearing near the viewport at high pitch.
  • Fix a crash that could occur when an HTTP request was aborted while a response chunk was being processed.

Dependencies

v11.25.1

Choose a tag to compare

@pengdev pengdev released this 06 Jul 14:04

Bug fixes 🐞

  • Fix View Annotations sometimes failing to appear on short line segments due to collision detection over-rejection.
  • Fix a SecurityException crash on Android 12 (API 31–32) when the Maps SDK registers location broadcast receivers.

Dependencies

v11.26.0-rc.1

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

v11.21.9

Choose a tag to compare

@pengdev pengdev released this 07 Jul 15:46

Dependencies

v11.21.8

Choose a tag to compare

@lyydikoi lyydikoi released this 26 Jun 13:33

Features ✨ and improvements 🏁

  • Reduce per-frame rendering overhead when style properties are updated frequently.

Bug fixes 🐞

  • Fix a crash caused by dereferencing a null index buffer when drawing symbols.
  • Internal fixes and performance improvements.

Dependencies

v11.26.0-alpha.1

v11.26.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@lyydikoi lyydikoi released this 17 Jun 09: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.
  • Internal fixes and performance improvements.

Dependencies