mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 0.21.0 to 0.22.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 5
- new
- 8
- fixes
Before you upgrade
Tick each one off as you go- breaking0.22.0
- breaking0.22.0
Release by release
- breaking
The
GeoJSONSource,VideoSource,ImageSourceconstructors are now private. Please usemap.addSource({...})to create sources andmap.getSource(...).setData(...)to update GeoJSON sources. #2667 - breaking
Map#onErrorhas been removed. You may catch errors by listening for theerrorevent. If no listeners are bound toerror, error messages will be printed to the console. #2852 - new
Increase max glyph atlas size to accomodate alphabets with large numbers of characters #2930
- new
Add support for filtering features on GeoJSON / vector tile
$id#2888
- breaking