MapLibre GL JS v0.53.0 Release Notes

  • 🔋 Features and improvements

    • Enable fill-extrusion querying with ray picking (#7499)
    • ➕ Add clusterProperties option for aggregated cluster properties (#2412, fixed by #7584)
    • 👍 Allow initial map bounds to be adjusted with fitBounds options. (#7681) (h/t @elyobo)
    • ✂ Remove popups on Map#remove (#7749) (h/t @andycalder)
    • ➕ Add Map#removeFeatureState (#7761)
    • ➕ Add number-format expression (#7626)
    • ➕ Add symbol-sort-key style property (#7678)

    🐛 Bug fixes

    • ⬆️ Upgrades Earcut to fix a rare bug in rendering polygons that contain a coincident chain of holes (#7806, fixed by #7878)
    • 👍 Allow file:// protocol in XHR requests for Cordova/Ionic/etc (#7818)
    • Correctly handle WebP images in Edge 18 (#7687)
    • 🛠 Fix bug which mistakenly requested WebP images in browsers that do not support WebP (#7817) (#7819)
    • 🛠 Fix images not being aborted when dequeued (#7655)
    • 🛠 Fix DEM layer memory leak (#7690, fixed by #7691)
    • Set correct color state before rendering custom layer (#7711)
    • 0️⃣ Set LngLat.toBounds() default radius to 0 (#7722, fixed by #7723) (h/t @cherniavskii)
    • 🛠 Fix race condition in feature-state dependent layers (#7523, fixed by #7790)
    • Prevent map.repaint from mistakenly enabling continuous repaints (#7667)
    • Prevent map shaking while zooming in on raster tiles (#7426)
    • 🛠 Fix query point translation for multi-point geometry (#6833, fixed by #7581)