mapbox-gl
3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed
1.13.3 is the newest release of 1.x.
In short
14 new14 fixed1 internal
Release note
Minor features and improvements
Improve line rendering performance by using a more compact line attributes layout
Improve data-driven symbol layers rendering performance
Add the ability to disable validation during
queryRenderedFeaturesandquerySourceFeaturescalls, as a performance optimization (#8211) (h/t gorshkov-leonid)Improve
setFilterperformance by caching keys ingroupByLayoutroutine (#8122) (h/t vallendm)Improve rendering of symbol layers with
symbol-z-order: viewport-y, when icons are allowed to overlap but not textPrefer breaking lines at a zero width space to allow better break point suggestions for Japanese labels
Add a
WebGLRenderingContextargument toonRemovefunction ofCustomLayerInterface, to allow direct cleanup of related context (#8156) (h/t ogiermaitre)Allow zoom speed customization by adding
setZoomRateandsetWheelZoomRatemethods toScrollZoomHandler(#7863) (h/t sf31)Add
trackPointermethod toPopupAPI that continuously repositions the popup to the mouse cursor when the cursor is within the mapAdd
getElementmethod toPopupto retrieve the popup's HTML element (#8123) (h/t bravecow)Add
fill-patternexample to the documentation (#8022) (h/t flawyte)Update script detection for Unicode 12.1
Add
nofollowto Mapbox logo & "Improve this map" links (#8106) (h/t viniciuskneves)Include source name in invalid GeoJSON error (#8113) (h/t Zirak)
Bug fixes
Fix
updateImagenot working as expected in ChromeFix issues with double-tap zoom on touch devices
Fix duplication of
movestartevents when zooming (#8259) (h/t bambielli-flex)Fix validation of
"format"expression failing when options are providedFix
setPaintPropertynot working online-patternpropertyFix the GL context being left in unpredictable states when using custom layers
Fix unnecessary updates to attribution control string (#8082) (h/t poletani)
Fix bugs in
findStopLessThanOrEqualToalgorithm (#8134) (h/t Mike96Angelo)Fix map not displaying properly when inside an element with
text-align: center(#8227) (h/t mc100s)Clarify in documentation that
Popup#maxWidthaccepts allmax-widthCSS values (#8312) (h/t viniciuskneves)Fix location dot shadow not displaying (#8119) (h/t bravecow)
Fix docs dev dependencies being mistakenly installed as package dependencies (#8121) (h/t bravecow)
Fix geolocate button CSS (#8367, h/t GuillaumeGomez)
Fix caching for Mapbox tiles