mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 1.6.1 to 1.7.0
1 release in betweenevery note read
Release by release
- new
Add
promoteIdoption to use a feature property as ID for feature state - new
Add a new constructor option to
mapboxgl.Popup,closeOnMove, that closes the popup when the map's position changes - new
Allow creating a map without a style (an empty one will be created automatically) ( h/t @stepankuzmin )
- new
map.once()now allows specifying a layer id as a third parameter making it consistent withmap.on()
- new