mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
Upgrading mapbox-gl From 2.6.0 to 2.15.0
18 releases in betweenevery note read
Release by release
- new
Improve performance of symbol layers with identical or no text. Eliminate stuttering when zooming on maps with many identical symbols.
- new
Improve performance of clustered sources: 20% faster loading & 40–60% less memory overhead. Improve performance of symbol collisions.
- new
Add
respectPrefersReducedMotionmap option - new
Add the
isPointOnSurfacemap method to determine if the given point is located on a visible map surface. - fixed
Fix inconsistent spacing in the Scale control (#12644) (h/t kathirgounder)
- fixed
Fix tiles preloading when a source is not yet loaded
- new
- new
Support
referrerPolicyoption for thetransformRequestfunction when using fetch (#12590) (h/t robertcepa) - new
Add arrow characters to the map of verticalized character (#12608) (h/t kkokkojeong)
- fixed
Enable anisotropic filtering on tiles beyond 20 degrees pitch to prevent it from compromising image crispness on flat or low-tilted maps.
- fixed
Fix LngLatBounds.extend() with literal LngLat object.
- fixed
Disable panning inertia if
prefers-reduced-motionis enabled
- new
- new
Support draping over terrain and globe in CustomLayer API
- new
Improve the rendering performance of terrain slightly by reducing its GPU memory footprint.
- new
Add methods for changing a raster tile source dynamically (e.g.
setTiles,setUrl). - new
Introduce skirts for terrain globe mode
- new
- fixed
Fix a rare bug where certain diacritical characters could break the rendering of a symbol layer.
- fixed
- new
Improve performance of patterns and line dashes and improve their appearance when zooming.
- new
Improve performance of text and icon placement.
- new
Improve performance of loading terrain data
- new
Allow zooming towards terrain at a safe distance without pitching the camera
- new
- fixed
Fix support for line breaks in labels that follow line geometries
- fixed
- new
Add support for
cameraForBoundswith globe projection - new
Add support for
fitBoundsandfitScreenCoordinateswith globe projection - new
Improve support for
getBoundswith globe projection. - new
Improve symbol placement performance with globe projection
- new
1 other line we could not sort, mostly version bumps
- 2.8.0
Upgrade Flow from
v0.108.0tov0.142.0and enable type-first mode, greatly improving performance of type-checking.