Skip to content

Releases: mapbox/mapbox-gl-js

v2.15.0

25 May 09:40
29dbfca
Compare
Choose a tag to compare

Features ✨ and improvements 🏁

  • Improve performance of symbol layers with identical or no text. Eliminate stuttering when zooming on maps with many identical symbols. (#12669)
  • Improve performance of clustered sources: 20% faster loading & 40–60% less memory overhead. Improve performance of symbol collisions. (#12682)
  • Add respectPrefersReducedMotion map option (#12694)
  • Add the isPointOnSurface map method to determine if the given point is located on a visible map surface. (#12695)

Bug fixes 🐞

  • Fix inconsistent spacing in the Scale control (#12644) (h/t kathirgounder)
  • Fix tiles preloading when a source is not yet loaded (#12699)

v2.15.0-beta.1

17 May 15:12
18d5d04
Compare
Choose a tag to compare
v2.15.0-beta.1 Pre-release
Pre-release
Update package version and the CHANGELOG for the 2.15.0-beta.1 releas…

…e (#12717)

v2.14.1

14 Apr 09:27
2d2e98a
Compare
Choose a tag to compare

Bug fixes 🐞

  • Fix a bug where certain bundling configurations involving Vite or ESBuild could produce a broken build. #12658

v2.14.0

12 Apr 12:41
9980ee9
Compare
Choose a tag to compare

Features ✨ and improvements 🏁

  • Support referrerPolicy option for the transformRequest function when using fetch (#12590) (h/t robertcepa)

Bug fixes 🐞

  • Enable anisotropic filtering on tiles beyond 20 degrees pitch to prevent it from compromising image crispness on flat or low-tilted maps. (#12577)
  • Fix LngLatBounds.extend() with literal LngLat object. (#12605)
  • Add arrow characters to the map of verticalized character (#12608) (h/t kkokkojeong)
  • Disable panning inertia if prefers-reduced-motion is enabled (#12631)

2.14.0-beta.1

06 Apr 11:51
017acd0
Compare
Choose a tag to compare
2.14.0-beta.1 Pre-release
Pre-release
Update package version and the CHANGELOG for the 2.14.0-beta.1 releas…

…e (#12642)

v2.13.0

21 Feb 15:09
198bb84
Compare
Choose a tag to compare

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)

v2.13.0-beta.1

07 Feb 15:16
92a488c
Compare
Choose a tag to compare
v2.13.0-beta.1 Pre-release
Pre-release
fix version in package.json (#12561)

v2.12.1

06 Feb 14:58
31d0eb7
Compare
Choose a tag to compare

Bug fixes 🐞

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

v1.13.3

19 Jan 11:03
c9e315d
Compare
Choose a tag to compare

🐞 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)

v2.12.0

04 Jan 19:50
a1c9104
Compare
Choose a tag to compare

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)