Skip to content

v2.20.0

Choose a tag to compare

@maios maios released this 16 Mar 12:56
· 1 commit to release/v2.20 since this release

Important

A bug in the SDK's offline data management causes untracked data to accumulate instead of being removed under specific conditions. This leads to uncontrolled storage growth, potentially degrading system performance or causing complete unusability if disk space is exhausted.
The required version for upgrade is 2.20.1 or any version from 2.21.0 onward.
This specific bug is only relevant to users who use tilestore offline regions.

New Features ✨

  • Add experimental shadowDrawBeforeLayer property to directional light to allow specifying the position in the layer stack for drawing shadows on the ground.
  • Introduce new LineLayer.lineElevationGroundScale property to scale elevated lines with terrain exaggeration.
  • Promote elevated lines properties to stable: LineLayer.lineZOffset and LineLayer.lineElevationReference.
  • Add experimental ModelLayer.modelAllowDensityReduction property to disable density reduction in model layers.
  • Add FollowPuckViewportState.padding to control camera padding when following the user's location puck, allowing the puck to be offset from the viewport center (e.g. for navigation UIs where the puck should appear near the bottom of the screen).

Bug fixes 🐞

  • Map ornaments positioning
    Fix incorrect positioning of map ornaments when multiple ornaments are placed in the same corner.

Dependency Updates

  • Update Mapbox Maps SDK to v11.20.0
    • For platform-specific updates see: iOS & Android