mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
2.15.0 is the newest release of 2.x.
In short
6 new4 fixed
Release note
Features and improvements
Add
showUserHeadingoption toGeolocateControlthat draws a triangle in front of the dot to denote both the user's location, and the direction they're facing.(#10817) (h/t to @tsuz)Add support for
text-writing-modeproperty when usingsymbol-placement: linetext labels.Note: This change will bring the following changes for CJK text blocks:
For vertical CJK text, all the characters including Latin and Numbers will be vertically placed now. Previously, Latin and Numbers were horizontally placed.
For horizontal CJK text, there may be a slight horizontal shift due to the anchor shift.
Improve character alignment in labels with mixed CJK and Latin characters by adding support for
descenderandascenderfont metrics.Improve terrain performance by reducing number of framebuffer switches during draping.
Improve terrain performance by prioritizing allocation of large render cache batches.
Improve behavior of vertically aligned line labels with horizontal text by adding stickiness to their flip state, preventing them from flickering.
Bug fixes
Fix a potential rendering artifact when using custom
fill-extrusiondataset with terrain.Fix anchor calculation for
line-centerline labels when the anchor is very near to line segment endpoints.Fix
ImageSourcebreaking in Firefox/Safari if it's not immediately visible.Fix gradient skybox rendering issue on some ARM Mali GPU's.