mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 1.13.3 to 2.0.0
1 release in betweenevery note read
- 4
- changes to make
- 0
- advisories fixed
- 12
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- breaking2.0.0
- breaking2.0.0
- breaking2.0.0
- deprecated2.0.0
Release by release
- breaking
mapbox-gl-js is no longer under the 3-Clause BSD license. By upgrading to this release, you are agreeing to Mapbox terms of service. Refer to LICENSE.txt for the new licensing terms and details. For questions, contact our team at support.mapbox.com.
- breaking
Beginning with v2.0.0, a billable map load occurs whenever a Map object is initialized. Before updating an existing implementation from v1.x.x to v2.x.x, please review the pricing documentation to estimate expected costs.
- breaking
Support for unlocked pitch up to 85°. The default
maxPitchis increased from 60° to 85° which can result in viewing above the horizon line. By default, this area will be drawn transparent but a new sky layer can be added to the map in order to fill this space. The legacy behavior can be achieved by simply addingmaxPitch: 60to the map options when instantiating your map. - deprecated
- breaking
1 other line we could not sort, mostly version bumps
- 2.0.0
Run render tests in browser.