Skip to content

Releases: mapbox/mapbox-gl-js

v2.12.0-beta.1

15 Dec 00:46
d21512b
Compare
Choose a tag to compare
v2.12.0-beta.1 Pre-release
Pre-release
Update changelog and versions for v2.12-beta.1 (#12466)

* Update changelog and versions for v2.12

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Fix typo

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

* Move getBounds improvement to a bugfix

* Update CHANGELOG.md

Co-authored-by: Aidan H <[email protected]>

Co-authored-by: Aidan H <[email protected]>

v2.11.1

06 Dec 18:27
769519a
Compare
Choose a tag to compare

Bug fixes 🐞

  • Fix support for line breaks in labels that follow line geometries (#12377)

v2.11.1-beta.1

21 Nov 20:26
b0ebc03
Compare
Choose a tag to compare
v2.11.1-beta.1 Pre-release
Pre-release
v2.11.1-beta.1 (#12403)

v2.11.0

14 Nov 21:33
e277a7b
Compare
Choose a tag to compare

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)

[email protected]

14 Nov 21:30
e277a7b
Compare
Choose a tag to compare

Bug fixes 🐞

  • Fix overwriting all feature ids while setting promoteIds on other layers with an object. (#12322) (h/t yongjun21)

v2.11.0-beta.2

07 Nov 18:48
3a4b836
Compare
Choose a tag to compare
v2.11.0-beta.2 Pre-release
Pre-release
Update version and changelog (#12360)

* update version and changelog for beta.2 release

v2.11.0-beta.1

21 Oct 18:06
72f52e3
Compare
Choose a tag to compare
v2.11.0-beta.1 Pre-release
Pre-release
update changelog (#12329)

[email protected]

21 Oct 01:25
d0d3793
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release
Update changelog (#12324)

* update changelogs and package versions

Co-authored-by: Aidan H <[email protected]>

v2.10.0

23 Aug 15:53
029c9ac
Compare
Choose a tag to compare

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)

[email protected]

23 Aug 15:51
029c9ac
Compare
Choose a tag to compare

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)