---
name: Mapbox GL JS
slug: mapbox-gl-js
type: github
source_url: https://github.com/mapbox/mapbox-gl-js
organization: Mapbox
organization_slug: mapbox
total_releases: 68
latest_version: v3.35.0
latest_date: 2026-11-13
last_updated: 2026-11-16
tracking_since: 2022-06-17
canonical: https://releases.sh/mapbox/mapbox-gl-js
organization_url: https://releases.sh/mapbox
---

<Release version="v3.35.0" date="November 13, 2026" published="2026-11-13T06:54:55.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.35.0">
### Features and improvements ✨

- Improve map load performance on lower zooms via faster polygon triangulation.
- Add `setMinzoom` and `setMaxzoom` methods to vector and raster tile sources, which change the zoom range of a source after it is added.
- Apply fog to symbols with `icon-pitch-alignment` or `text-pitch-alignment` set to `map`.
- Introduce cross-tile fade state support for global placement.
- Release tiles after fade completes for sources from imported styles.

### Bug fixes 🐞

- Fix `transformRequest` headers missing from requests for glTF buffers and textures.
- Fix `Map#setGlyphsUrl` not changing the glyphs of labels that are already loaded.
- Fix the setters of `raster-array` and `model` sources that throw an error before a layer uses the source.
- Fix zoom-step `line-dasharray` disappearing on some tiles.
- Fix zero-length cap in SVG not being drawn in various browsers.
- Fix thin lines fading and flickering at high pitch.
- Revert fix line geometry: clamp fake-round join anchor on short segments.
- Fix a thin unlit line in the fill-extrusion flood light at very sharp polygon corners.
- Fix visibility of the logo control based on imported source.

</Release>

<Release version="v3.34.2" date="November 3, 2026" published="2026-11-03T17:02:21.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.34.2">
**Full Changelog**: https://github.com/mapbox/mapbox-gl-js/compare/v3.34.1...v3.34.2
</Release>

<Release version="v3.34.1" date="October 29, 2026" published="2026-10-29T14:23:42.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.34.1">
<<<<<<< HEAD
=======
- Improve map load performance on lower zooms via faster polygon triangulation.
- Fix zero-length cap in SVG not drawn in various browsers.
- Add `raster-mask` and `raster-mask-mode` paint properties so a raster layer can be clipped to, or excluded from, the geometry of a fill layer
>>>>>>> d9868a274d ([GLJS-2034] Allow clipping a layer using `raster-mask` paint property (#20008))

</Release>

<Release version="v3.33.0" date="October 13, 2026" published="2026-10-13T13:12:05.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.33.0">
### Breaking changes ⚠️

- Right-to-left text (such as Arabic and Hebrew) is now supported out of the box, loading a small WebAssembly module the first time it appears on the map. `setRTLTextPlugin`, `getRTLTextPluginStatus` and the `PluginStatus` type are removed.
- The base size of icons in the `text-field` property is now calculated at the tile zoom level with the largest text size. As a result, the icons can be smaller when the text size depends on the zoom level.

### Features and improvements ✨

- Improve memory use & map load time, especially for 3D layers.
- Improve line rendering performance by using a uniform instead of a shader permutation for `line-dasharray`.
- Add support for offsetting a control from its corner via `map.addControl(control, {position, offset: {x, y}})`.
- Improve 3D Lanes map load performance.
- Avoid placing parent-tile symbols when using the global placement.
- Extend global placement debug info.

### Bug fixes 🐞

- Fix a severe performance regression when updating data-driven line layers with `setPaintProperty`.
- Fix a rendering issue when drawing thousands of data-driven lines and symbols.
- Fix transparent `building` and `fill-extrusion` layers blending the same pixel twice where they cover the same buildings, making the overlap look more opaque than either layer's opacity asks for.
- Fix an issue with GeoJSON geometries past longitude -+360 or latitude +-85 rendering incorrectly.
- Fix map-aligned `icon-rotate` and `text-rotate` not being measured from true north in projections other than Mercator or globe, which misrotated symbols such as crosswalks.
- Fix collision boxes not matching rotated symbols that use appearances with a layout `icon-rotate` or `text-rotate`.
- Fix symbol fading not finishing when using global placement.

</Release>

<Release version="v3.32.0" date="September 29, 2026" published="2026-09-29T13:55:00.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.32.0">
### Features and improvements ✨

- Slightly improve map load time via more aggressive chunk preloading.
- Improve style parsing performance.
- Preload Meshopt decoder earlier to improve 3D styles load time.
- Improve map load time by requesting the icon set earlier and lazy parsing icons on-demand.
- Add support for the globe to mercator transition when using the global placement.
- Add support for symbol fading when using the global placement.
- Add debug visualization support when using the global placement.
- `CustomLayerInterface#render`/`#prerender` now receive a `CustomLayerRenderParameters` object as an 8th argument, exposing `projectionMatrix` (camera→clip), `viewMatrix` (world→camera) pair, plus the globe horizon `globeClippingPlane` and the globe center's screen position `globeCenterInScreenPixels`.

### Bug fixes 🐞

- Fix `raster-array` chunk loading when unused.
- Fix `transformRequest` headers and credentials being dropped from PMTiles requests.
- Fix `transformRequest` headers/credentials being dropped when loading GL model (GLTF) resources.
- Fix features rendering at the wrong position when a layer uses a `within` filter and the map uses a projection other than Mercator or globe.
- Fix global placement throwing an error when placing symbols with no text.
- Fix setting `padding` as a sideeffect in a `preloadOnly` animation.
- Respect `extra_bounds` on all TileJSON source types.
- Fix a regression with `map.remove()` where it could retain the map instance in memory.
- Fix light/fog/snow/rain transitions.
</Release>

<Release version="v3.31.0" date="September 17, 2026" published="2026-09-17T15:46:19.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.31.0">
### Features and improvements ✨

- Significantly improve GeoJSON memory footprint.
- Reduce landmark model memory usage.
- Remove the experimental flag from `raster-allow-draping`.
- Add support for emissive MRT in custom layers.

### Bug fixes 🐞

- Fix `transformRequest` headers/credentials being dropped when loading GL model (GLTF) resources.
- Fix `removeSource` throwing under globe projection. (h/t @mhayk)

</Release>

<Release version="v3.30.0" date="September 3, 2026" published="2026-09-03T14:57:03.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.30.0">
### Breaking changes ⚠️

- Make pitch and rotation states independent. Previously, disabling rotation also disabled pitch. Now, pitch can be enabled independently of rotation.

### Features and improvements ✨
- Extract the terrain from the core ESM module.
- Reduce shader size by removing unused code paths.
- Upgrade Supercluster to v9 (optimize clustering memory footprint).
- Add support for client-side overzooming for raster-array sources.
- Add `AnimationFrameProvider` (`MapOptions.animationFrameProvider`) to support driving the render loop from an external library.
- Enable landmark model LOD mesh download when the server provides such data.
- Raise the maximum number of sources in a style to 64.

### Bug fixes 🐞
- Fix dark line artifacts on non-standard procedural building geometry.
- Fix ESM terrain module loading for elevated-lines requiring terrain.
- Fix validation of style light transition properties.
- Fix symbol layer related errors after GL context loss.
- Skip rings with zero area on fill-extrusions.
</Release>

<Release version="v3.29.0" date="August 20, 2026" published="2026-08-20T11:03:20.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.29.0">
### Breaking changes ⚠️

- Remove legacy undocumented `Map` `addSourceType` API which was superceded by `CustomSourceInterface` and experimental `TileProvider` API.

### Features and improvements ✨

- Add new `raster-color-scale` property, which can be set to `"log"` to improve color ramp precision when visualizing long-tailed raster datasets.
- Add new `raster-allow-draping` property that can be set to `false` to disable raster layer draping over globe/terrain.
- Move `symbol-z-offset` property out of experimental.
- Extend `distance` expression to accept an expression as a second argument.
- Extend `config` expression to support object literals as values.
- Improve dashed line rendering in pitched views.
- Added APIs for more granular control of interaction handlers:
	- `map.keyboard`: `disablePitch`, `enablePitch`, `isPitchEnabled`, `disableBearing`, `enableBearing`, `isBearingEnabled`, `isEnabled`
	- `map.dragRotate`: `disableRotation`, `enableRotation`, `isRotationEnabled`
	- `map.touchZoomRotate`: `isRotationEnabled`, `isTapDragZoomEnabled`
	- For all three, `isEnabled` is changed from AND to OR semantics

### Bug fixes 🐞

- Fix rare line artifacts on sharp corners with short segments and non-bevel joins.
- Fix ambient occlusion to not render for elevated (non-zero-base) extrusions.
- Fix `Map` `resetFeatureStates` not working properly in some scoped styles.

</Release>

<Release version="v3.28.1" date="August 7, 2026" published="2026-08-07T06:17:49.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.28.1">
### Bug fixes 🐞
- Fix `iconsets` icons rendering with ESM bundle.
</Release>

<Release version="v3.28.0" date="August 5, 2026" published="2026-08-05T13:32:07.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.28.0">
### Breaking changes ⚠️
- Disable `text-variable-anchor` when appearances are present.

### Features and improvements ✨
- Introduce _experimental_ `map.getVerticalFieldOfView()`, `map.setVerticalFieldOfView()`, and read-only `map.getHorizontalFieldOfView()` and an animatable `fov` camera option.
- Expose `line-border-width` and `line-border-color` as public paint properties.
- Introduce _experimental_ `line-border-gradient` property for rendering gradient borders on lines.
- Add support for Meshopt v1 compressed models.
- Support string color values for the `model-color` in a model source.
- Add `map.resetFeatureStates()` to clear all feature states for a featureset or layer.
- Expose `map.getSchema()`/`map.setSchema()` for managing the imported style's schema.
- Extract development and debug code from the ESM bundle into a separate module.
- Extract more model code from the ESM core bundle.
- Extract `raster-array` layer as a separate ESM module.
- Reduce the bundle size by restructuring style, program, symbol, and expression code.
- Remove experimental flag from layer appearances.
- Improve symbol layer performance.
- Reduce redundant repaints and checks during initial load.

### Bug fixes 🐞
- Fix double rotation of the FF5C character in vertical text rendering.
- Preserve live gesture when camera setter is called from inside a drag/move handler.
- Stop overwriting the `pointerEvents` of markers set by the user.
- Fix models with vertex alpha 0 appearing black.
- Fix incorrect rendering of fill extrusions with `fill-extrusion-edge-radius` at low zoom levels in some cases.
</Release>

<Release version="v3.27.0" date="July 23, 2026" published="2026-07-23T10:22:27.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.27.0">
### Features and improvements ✨

- Upgrade to Typescript 7
- Add cross-source HD roads elevation for symbols
- Improve character rotation logic for some CJK characters in vertical text rendering mode

### Bug fixes 🐞

- Fix raster-array out of bounds assertion error for non-mecator projections
- Fix error when object-property strings were used in expressions
- Fix wrong access token used on multi-map environments
- Fix `number-format` dropping `min/max-fraction-digits` when they were 0
- Fix line-aligned label placement during globe-mercator transition
- Fix crash when using style expressions with prototype-derived keys
- Fix atlas cache returning another scope images
- Fix `Style#{get,set,remove}FeatureState` with `{target: {layerId}}` so imported-layer targets resolve against their own fragment's sources instead of the root style's
- Fix missing building along tile borders
- Fix dynamic imports in UMD
- Fix import.meta crash under modern bundlers
- Fix `setPaintProperty` on symbol properties with a transition duration of 0
</Release>

<Release version="v3.26.0" date="July 9, 2026" published="2026-07-09T15:11:24.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.26.0">
### Breaking changes ⚠️

- Remove `transition` and `interpolated` flags from the `camera-projection` style property — enum properties cannot be transitioned, so these flags were incorrect.

### Features and improvements ✨

- Make published TypeScript declarations self-contained, fixing consumer builds that failed with `skipLibCheck: false`.
- Improve terrain raycast accuracy for mouse events, camera fitting, and other pointer interactions.
- Improve landmark model LOD switching with size-based distance heuristics for better rendering performance.

### Bug fixes 🐞

- Fix `hd-road-markup` elevated lines rendering flat with zero-exaggeration terrain.
- Fix `viewport-y` symbol sorting causing a `Vertex buffer is not big enough for the draw call` error when a symbol bucket had multiple segments.
- Fix multilinestrings not displaying labels correctly.
- Fix parametric colors sometimes loading the wrong cached image.
</Release>

<Release version="v3.25.0" date="June 17, 2026" published="2026-06-17T11:48:36.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.25.0">
### Breaking changes ⚠️

- Switch the ESM entry point to named exports (`import * as mapboxgl from 'mapbox-gl/esm'`) so that modern bundlers can eliminate small unused parts of the code. Replace `mapboxgl.accessToken` with `Map` `accessToken` option. Most of the bundle still can't be statically eliminated, but this release also improves lazy loading of code at runtime, with more improvements on the way.

## Features and improvements ✨

- Extend `Map` `getLayerProperty` and `setLayerProperty` to support layer-level properties (`minzoom`, `maxzoom`, `filter`, `slot`, `appearances`)
- Extend `TileProvider` API to accept `ImageBitmap` for `raster` and `raster-dem` providers.
- Improve model loading and rendering performance.
- Improve symbol rendering performance.
- Improve performance of decoding and encoding vector tiles and other protobuf-encoded assets.
- Improve color parsing performance, slightly improving load time for styles with many color values.
- Extract indoor and part of the model rendering code to be loaded on demand when using the ESM entry point.
- Add `GeolocateControl` `ready` event and `setShowAccuracyCircle`, `setShowUserHeading`, `setFitBoundsOptions`, `setShowUserLocation` methods.
- Add `KeyboardHandler` `disablePan`/`enablePan` methods.
- Add `DragRotateHandler` `disablePitch`/`enablePitch` methods.
- Add `TouchZoomRotateHandler` `disableTapDragZoom`/`enableTapDragZoom` methods.
- Expose `Map` `setLanguage`, `getLanguage`, `setWorldview`, `getWorldview` as stable public methods (previously private).
- Remove all direct dependencies from `package.json` slightly improving NPM install size and time.
- Improve anti-aliasing for lines with borders.
- Implement automatic conflation of regular and HD road data in preparation for future Mapbox Standard updates.

## Bug fixes 🐞

- Fix an issue that sometimes caused black boxes to appear instead of symbol icons.
- Fix precision issues on tile borders for elevated roads.
- Fix rendering issues for stacked underground roads.
- Fix minor vulnerabilities related to Object prototype pollution from an untrusted style or tiles.
- Fix the `Cutoff is currently disabled on terrain` warning on Standard style.
- Fix appearance conditions validation to accept compound expressions.
- Fix issues with model cutout fading via `model-line-cutout-mode` property.
- Fix an issue with step expression evaluation for symbol layers.
- Fix an issue with custom layer rendering alongside data-driven `line-emissive-strength`
</Release>

<Release version="v3.24.1" date="June 12, 2026" published="2026-06-12T14:54:28.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.24.1">
## Bug fixes 🐞

- Fix an issue with custom layer rendering alongside data-driven `line-emissive-strength`.
</Release>

<Release version="v3.24.0" date="May 18, 2026" published="2026-05-18T12:28:39.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.24.0">
## Features and improvements ✨

- Introduce Level of Detail (LOD) support for landmark models, enabling automatic switching between model versions based on camera distance.
- Support additive blend mode with clamped density by setting the `line-blend-additive-clamp` property.
- Improve rendering performance by reducing per-frame matrix allocations.
- Improve rendering performance via parallel shader compilation on supported devices.
- Improve rendering performance by advancing shader precompilation.
- Improve shadow rendering performance.
- Improve vector icon loading performance.
- Improve initial load by skipping redundant config-related style layers updates in Web Workers.
- Improve initial load by rescheduling shader precompilation to occur during browser idle time after the map's `idle` event.
- Improve model processing performance.
- Improve performance and memory footprint by streamlining communication between the main thread and Web Workers.
- Reduce first-interaction jank by optimizing shader compilation pipeline behavior.
- Optimize expression parsing performance.
- Improve an error messaging for the `line-trim-offset` property without `lineMetrics`.

## Bug fixes 🐞
- Fix LUT to properly work with premultiplied color.
- Fix a potential memory leak and crash occurring when a map was destroyed.
- Fix an issue where cross-fragments config values were not correctly updated.
</Release>

<Release version="v3.23.1" date="May 4, 2026" published="2026-05-04T13:17:27.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.23.1">
### Bug fixes 🐞

- Fix a rendering error occurring with `fill-extrusion` layers when terrain is enabled in specific edge cases.
</Release>

<Release version="v3.23.0" date="April 29, 2026" published="2026-04-29T12:56:35.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.23.0">
### Features and improvements ✨

- Improve the performance of symbol layers on old devices.
- Add `TileProvider` for raster and raster-dem sources, adding support for PMTiles with raster tiles.
- Enable client-side fontstack compositing by default. When multiple fonts are requested they are now fetched individually and composited on the client.
- Promote interactions API to stable.
- Add a bundler-friendly ESM bundle in the NPM package (`import mapboxgl from 'mapbox-gl/esm'`).
- Lazy-load procedural buildings and precipitation code when using the ESM entry point.

### Bug fixes 🐞

- Fix values smaller than 1 in `line-dasharray` not working.
- Fix a render issue where black boxes could appear instead of symbols briefly in some environments.
- Fix `scale-factor` being applied twice to icons with feature-dependent `icon-size`.
- Fix redundant WASM requests on map load when using the Standard style.
- Fix hillshade rendering issue when using Safari in private browsing mode.

</Release>

<Release version="v3.22.0" date="April 17, 2026" published="2026-04-17T12:17:43.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.22.0">
### Bug fixes 🐞

- Fix a crash on PowerVR devices.
- Fix nested scopes support in clip layers.
- Fix Webpack warning on dynamic imports.
- Skip sub-pixel line dilution for intentionally thin lines.
- Skip map-sessions request when `baseApiUrl` is not a Mapbox host.
</Release>

<Release version="v3.21.0" date="April 2, 2026" published="2026-04-02T17:20:20.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.21.0">
### Features and improvements ✨

- Introduce the `TileProvider` API, a mechanism for extending GL JS with custom vector tile providers.
- Add first-class support for PMTiles via the new `TileProvider` API and an official plugin (`mapbox-gl-pmtiles-provider.js`) that loads on demand.
- Add _experimental_ `line-blend-mode` property for rendering lines using `additive` or `multiply` blending.
- Slightly improve overall map loading times.
- Improve symbol layer rendering performance (by adopting Uniform Buffer Objects for data-driven properties).
- Improve indoor maps loading performance.

### Bug fixes 🐞

- Fix dragging gesture not working on the compass control.
- Various fixes and improvements for the Appearances API.
- Fix an edge case when combining custom icons with images included in the style's sprite.
- Fix `setWorldview` not updating layout properties correctly.
- Fix an issue when rendering stacked underground 3D roads.
- Fix line dashes with non-integer total array lengths.
- Fix various rendering issues when using `*-cutoff-fade-range` properties.
- Fix `clip` layer not clipping `fill-extrusion` ambient occlusion.

## Breaking changes ⚠️

- Removed `mapbox-gl-unminified.js` bundle in the distribution — please switch to either `mapbox-gl.js`, `mapbox-gl-dev.js`, or the new `esm-min/mapbox-gl.js` ESM bundle.
- Removed `spriteFormat` `Map` option — now Mapbox styles will always use vector icons, while non-Mapbox styles will continue using classic raster sprites.
</Release>

<Release version="v3.20.0" date="March 12, 2026" published="2026-03-12T11:01:36.000Z" url="https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.20.0">
### Features and improvements ✨

- Improve memory efficiency by sharing image resources for symbol layers across map tiles.

### Bug fixes 🐞

- Fix icons disappearing when changing the color theme.
- Fix display of symbols added via the Appearances runtime API.
</Release>

<Pagination cursor="2026-03-12T11:01:36.000Z|2026-05-01T20:32:00.496Z|rel_V76WEhS8Xt2bzDO_xaq18" next="https://releases.sh/mapbox/mapbox-gl-js.md?cursor=2026-03-12T11%3A01%3A36.000Z%7C2026-05-01T20%3A32%3A00.496Z%7Crel_V76WEhS8Xt2bzDO_xaq18&limit=20" />
