npm mapbox-gl 3.9.0

one day ago

Breaking changes ⚠️

  • Rename featureset property to target in addInteraction and queryRenderedFetures options.

Features and improvements ✨

  • Add experimental vector icons support.
  • Add experimental precipitation support through snow and rain style properties.
  • Add experimental features for interactive indoor maps.
  • Add to-hsla expression.
  • Add *-use-theme property to override the color theme for specific layers.
  • Add support for color-theme overrides in imports.
  • Add per-feature mouseenter, mouseover, mouseleave, and mouseout events for addInteraction.
  • Enable mixing featuresets and layers in the Map#queryRenderedFeatures.
  • Improve landmark rendering performance.
  • The clip layer is now stable and no longer marked experimental.

Bug fixes 🐞

  • Fix crash on devices with PowerVR GPUs.
  • Fix dark shade of fill-extrusion buildings caused by specific light directions.
  • Fix double shadowing on lines at ground level.
  • Fix shadow acne from 3D structures close to the ground.
  • Fix update of state-dependent features during brightness changes.
  • Fix an edge case with fill extrusions around tile borders not being updated correctly on terrain load.
  • Fix a race condition where using line-z-offset would sometimes break layer rendering order.

Don't miss a new mapbox-gl release

NewReleases is sending notifications on new releases.