github mapbox/mapbox-gl-js v2.5.0-beta.1

latest releases: v3.3.0, style-spec@14.3.0, v3.3.0-beta.1...
pre-release2 years ago

Features ✨ and improvements 🏁

  • Added queryRenderedFeatures support to heatmap layers. (#10996)
  • Added support for using line-gradient and line-dasharray paint properties together on line layers. (#10894)
  • Added preclick event. (#10926)
  • Improved collision detection for labels along lines, slightly improving label density. (#10918)
  • Improved Popup addClassName, removeClassName and toggleClassName methods to work on popup instances that are not added to the map. (#10889)
    • ⚠️ Note: Direct modifications to the popup container CSS class no longer persist. These methods should be used instead.

🐞 Bug fixes

  • Fixed maxBounds property failing to constrain the map correctly when the area crosses the 180th meridian. (#10903)
  • Fixed map.getBounds() returning too-large bounds under some conditions. (#10909)
  • Fixed markers not updating position when toggling terrain. (#10985)
  • Fixed gap on edge of map on retina displays. (#10936)
  • Fixed SDF images rendering inside text. (#10989)
  • Fix a bug where a opening a new popup on map click while another one is open (with closeOnClick set to true) required multiple clicks. (#10926)

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

NewReleases is sending notifications on new releases.