Releases: mapbox/mapbox-gl-js
Releases · mapbox/mapbox-gl-js
style-spec@13.28.0
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 <aidan.hendrickson@mapbox.com> * Fix typo * Update CHANGELOG.md Co-authored-by: Aidan H <aidan.hendrickson@mapbox.com> * Move getBounds improvement to a bugfix * Update CHANGELOG.md Co-authored-by: Aidan H <aidan.hendrickson@mapbox.com> Co-authored-by: Aidan H <aidan.hendrickson@mapbox.com>
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)
style-spec@13.27.0
v2.11.0-beta.2
Update version and changelog (#12360) * update version and changelog for beta.2 release
v2.11.0-beta.1
update changelog (#12329)
style-spec@13.27.0-beta.1
Update changelog (#12324) * update changelogs and package versions Co-authored-by: Aidan H <aidan.hendrickson@mapbox.com>
v2.10.0
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)