Skip to content

v2.20.0

Latest

Choose a tag to compare

@maios maios released this 16 Mar 12:56

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