github maplibre/maplibre-gl-js v5.17.0

9 hours ago

✨ Features and improvements

  • Refactor _updateWorkerData (#6983) (by @wayofthefuture)
  • ⚠️ Add zoomSnap option to Map to allow snapping zoom levels to a grid when zooming in and out; aligns the behavior across all UI patterns (keyboard, scroll wheel, on-screen zoom buttons, double-click, double-tap). Previously, pressing +/- on the keyboard zoomed to rounded whole integers, more or less than 1 zoom level when starting from a fractional zoom. Now any number can be specified for zoomSnap; a value of 1.0 produces the rounded whole integer behavior across all UI patterns. (#6941) (by @mizmay)
  • Add support for container elements from different windows (e.g., popup or iframe) (#6969) (by @Syncret)
  • Migrate to @maplibre/geojson-vt (#6995) (by @HarelM)

🐞 Bug fixes

  • Fix incorrect shader selection for text labels with inline images (#6956) (by @ciscorn)
  • Fix marker positions not updating when zoom or pitch are changed following a change in constraints (#6925) (by auspicus)

Don't miss a new maplibre-gl-js release

NewReleases is sending notifications on new releases.