releases.shpreview
Mapbox/Mapbox GL JS

Mapbox GL JS

$npx @buildinternet/releases show mapbox-gl-js
Mon
Wed
Fri
MayJunJulAugSepOctNovDecJanFebMarApr
Less
More
Releases14Avg4/moVersionsv3.19.0-beta.1 → v3.23.0
Feb 21, 2023

Features ✨ and improvements 🏁

  • Support draping over terrain and globe in CustomLayer API (#12182)
  • Improve the rendering performance of terrain slightly by reducing its GPU memory footprint. (#12472)
  • Add methods for changing a raster tile source dynamically (e.g. setTiles, setUrl). (#12352)

Bug fixes 🐞

  • Fix line-border-color when used with line-trim-offset (#12461)
  • Fix potential infinite loop when calling fitBounds with globe projection (#12488)
  • Fix map.getBounds() returning incorrect bounds with adaptive projections. (#12503)
  • Introduce skirts for terrain globe mode (#12523)
  • Fix blur on draped lines while zoom-in (#12510)
  • Fix map pan speed while pinching in (#12543)
  • Fix negative-width diacritics handling (#12554)
  • Fixes undefined is not an object in coalesceChanges (#12497) (h/t nick-romano)
Feb 7, 2023
Feb 6, 2023

Bug fixes 🐞

  • Fix a rare bug where certain diacritical characters could break the rendering of a symbol layer. (#12554)
Jan 19, 2023

🐞 Bug fixes

  • Fix incorrect billing when customAccessToken is provided along with non-Mapbox tiles (#12520)
  • Prevent video sources from entering fullscreen on iOS Safari (#11067)
  • Upgrade minimist to ^1.2.7 to avoid CVE-2021-44906 (#12442) (h/t @Spasfonx)
Jan 4, 2023

Features ✨ and improvements 🏁

  • Improve performance of patterns and line dashes and improve their appearance when zooming. (#12326)
  • Improve performance of text and icon placement. (#12351)
  • Improve performance of loading terrain data (#12397)
  • Allow zooming towards terrain at a safe distance without pitching the camera (#12354)
  • Allow for pitch override in cameraForBounds, fitBounds and fitScreenCoordinates camera APIs. (#12367)

Bug fixes 🐞

  • Fix getBounds when used around the poles with a globe projection. (#12315)
  • Fix incorrect transition flag in *-pattern and line-dasharray properties (#12372)
  • Fix symbols filtering when using center-to-distance along with terrain. (#12413)
  • Fix fog rendering artifact on lower resolution terrain tiles (#12423)
  • Fix an issue where Geolocate control would throw an error if it's removed before determining geolocation support (#12332) (h/t tmcw)
Dec 15, 2022
Dec 6, 2022

Bug fixes 🐞

  • Fix support for line breaks in labels that follow line geometries (#12377)
Nov 21, 2022
Nov 14, 2022

Features ✨ and improvements 🏁

  • Add support for cameraForBounds with globe projection (#12138)
  • Add support for fitBounds and fitScreenCoordinates with globe projection (#12211)
  • Improve support for getBounds with globe projection. (#12286)
  • Improve symbol placement performance with globe projection (#12105)
  • Add new marker styling option occludedOpacity allowing the user to set the opacity of a marker that's behind 3D terrain (h/t jacadzaca) (#12258)
  • Cancel ImageSource image request when underlying resource is no longer used (#12266) (h/t maciejmatu)
  • Add object literal support in LngLatBounds.extend (#12270) (h/t stampyzfanz)
  • Add live performance counters. Mapbox-gl-js v2.11.0 collects certain performance and feature usage counters so we can better benchmark the library and invest in its performance. The performance counters have been carefully designed so that user-level metrics and identifiers are not collected. (#12343)

Bug fixes 🐞

  • Fix elevation of pole geometry when exaggerated terrain is used (#12133)
  • Fix GeolocateControl sometimes not working in iOS16 WebView (#12239)
  • Fix map crashing on conformal projections at the south pole (#12172)
  • Fix pixel flickering between tiles on darker styles in globe view. (#12145)
  • Fix occasional missing tiles at bottom of screen during globe-mercator transition (#12137)
  • Fix incorrectly requiring three finger drags to change pitch with cooperative gestures while in fullscreen. (#12165)
  • Fix jumping when scrolling with mouse when crossing the antimeridian on projections that wrap. (#12238)
  • Fix terrain error being fired when using map.getStyle() with globe view (#12163)
  • Fix occasional artifacts appearing in the ocean with terrain or globe enabled. (#12279)
  • Fix invalid AABB calculation as part of the globe tile cover (#12207)
  • Fix incorrect shading of corners in fill extrusions when ambient occlusion is enabled. (#12214)
  • Fix potential performance regression on image source updates (#12212)
  • Fix memory leak when removing maps (#12224) (h/t joewoodhouse)
  • Fix updating marker position when toggling between world copied projections and projections without (#12242)
  • Fix missing icons in some styles. (#12299)
  • Fix overwriting all feature ids while setting promoteIds on other layers with an object. (#12322) (h/t yongjun21)
  • Fix cursor returning to original state after a popup with trackPointer is removed (#12230) (h/t camouflagedName)

Bug fixes 🐞

  • Fix overwriting all feature ids while setting promoteIds on other layers with an object. (#12322) (h/t yongjun21)
Nov 7, 2022
Oct 21, 2022
Aug 23, 2022

Features ✨ and improvements 🏁

  • Add new marker styling option rotationAlignment: 'horizon' allowing marker rotation to match the curvature of the horizon in globe view (#11894)
  • Improve panning precision on Globe View and relax constraints on lower zoom levels (#12114)
  • Add unit option to number-format expression (#11839) (h/t varna)
  • Add screen reader alert for cooperative gestures warning message. (#12058)
  • Improve rendering performance on globe view (#12050)
  • Improve tile loading performance on low zoom levels (#12061)
  • Improve globe-mercator transition and map load performance with globe projection (#12039)

Bug fixes 🐞

  • Fix a bug where id expression didn't correctly handle a value of 0 (#12000)
  • Fix precision errors in depth pack/unpack (#12005)
  • Fix cooperativeGestures preventing panning on mobile while in fullscreen. (#12058)
  • Fix misplaced raster tiles after toggling setStyle with a globe projection (#12049)
  • Fix exception on creating map in an iframe with sandbox attribute. (#12101)
  • Fix "improve map" link in the attribution to include location even if map hash is disabled (#12122)
  • Fix Chrome console warnings about ignored event cancel on touch interactions (#12121) (h/t jschaf)

Features ✨

  • Add unit option to number-format expression (#11839) (h/t varna)

Bug fixes 🐞

  • Fix a bug where id expression didn't correctly handle a value of 0 (#12000)
Aug 12, 2022
Jul 14, 2022

Bug fixes 🐞

  • Add a workaround in ScaleControl to support localization in browsers without NumberFormat support. (#12068)
  • Fix GeolocateControl not working in Safari. (#12080)
Jun 20, 2022

Bug fixes 🐞

  • Fix missing lines on some Windows devices. (#12017)
Jun 17, 2022

Features ✨

  • Add globe projection. This new projection displays the map as a 3d globe and can be enabled by either passing projection: globe to the map constructor or by calling map.setProjection('globe'). All layers are supported by globe except for Custom Layers and Sky.
  • Extend atmospheric fog with three new style specification properties: high-color, space-color and star-intensity to allow the design of atmosphere around the globe and night skies. (#11590)
  • Add a new line layer paint property in the style specification: line-trim-offset that can be used to create a custom fade out with improved update performance over line-gradient. (#11570)
  • Add an option for providing a geolocation adapter to GeolocateControl. (#10400) (h/t behnammodi)
  • Add Map.Title property to locale options to localise the map aria-label. (#11549) (h/t andrewharvey)
  • Allow duplicated coordinates in tile request URLs. (#11441) (h/t ozero)

Bug fixes 🐞

  • Fix an issue which causes line layers to occasionally flicker. (#11848)
  • Fix markers in fog sometimes becoming more visible when behind terrain. (#11658)
  • Fix an issue where setting terrain exageration to 0 could prevent the zoom to be resolved. (#11830)
  • Copy stylesheet to allow toggling different styles using setStyle without overwriting some of the properties. (#11942)
Latest
v3.23.0
Tracking Since
Jun 17, 2022
Last checked May 1, 2026