github mapbox/mapbox-gl-js 2.11.0-beta.1

latest releases: v3.8.0-beta.1, style-spec@14.8.0-beta.1, style-spec@14.7.1...
pre-release2 years ago

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

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)

Don't miss a new mapbox-gl-js release

NewReleases is sending notifications on new releases.