Releases: mapbox/mapbox-gl-js
Releases · mapbox/mapbox-gl-js
v2.13.0-beta.1
fix version in package.json (#12561)
v2.12.1
v1.13.3
v2.12.0
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
andfitScreenCoordinates
camera APIs. (#12367)
Bug fixes 🐞
- Fix
getBounds
when used around the poles with a globe projection. (#12315) - Fix incorrect transition flag in
*-pattern
andline-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)
[email protected]
Bump for final (#12501)
v2.12.0-beta.1
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
v2.11.1-beta.1
v2.11.1-beta.1 (#12403)
v2.11.0
Features ✨ and improvements 🏁
- Add support for
cameraForBounds
with globe projection (#12138) - Add support for
fitBounds
andfitScreenCoordinates
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)