mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 2.5.1 to 2.6.0
1 release in betweenevery note read
Release by release
- new
Add support for a variety of new map projections beyond the standard Web Mercator. Alternate projections can be used together with all existing styles and sources. The projections eliminate distortion as you zoom to make them useful at every scale. Supported projections include
albers,equalEarth,equirectangular,lambertConformalConic,naturalEarthandwinkelTripel. Change the projection by setting it in the map constructor:new Map({ projection: 'winkelTripel', ... }). - new
- new
Add support for dynamic filtering of symbols based on pitch and distance to map center.
["pitch"]and["distance-from-camera"]expressions can now be used within thefilterof a symbol layer. - new
Improve user accessibility: conveying only
aria-labelin controls, replacearia-pressedwitharia-expandedin the attribution control, interactive markers with popups express anaria-expandedstate, and interactive markers have the role "button".
- new