Mapbox GL JS 2.11.0 is now released. Mapbox GL JS is a JavaScript library for rendering interactive vector tiled and raster tiled maps using WebGL. WebGL rendering means high performance. MapboxGL can render a large number of map elements, has smooth interaction and animation effects, can display three-dimensional maps and supports mobile terminals. It is an excellent WEB GIS (Geographic Information System) development framework.
Updates in this version include:
Features and improvements
- Added to the Earth projection
cameraForBounds
support (#12138) - Added to the Earth projection
fitBounds
andfitScreenCoordinates
support (#12211) - Improvements to Earth projections
getBounds
support. (#12286) - Improve symbol placement performance under Earth projection (#12105)
- Add new markup style options
occludedOpacity
allows user to set opacity of markers behind 3D terrain (h/t jacadzaca) (#12258) - Cancel when the underlying resource is no longer in use
ImageSource
Image request (#12266) (h/t maciejmatu) - exist
LngLatBounds.extend
Add object literal support (#12270) (h/t stampyzfanz) - Add realtime performance counters (#12343)
Bug fixes
- Fix height of pole geometry when using exaggerated terrain (#12133)
- repair
GeolocateControl
Issue with sometimes not working in iOS16 WebView (#12239) - Fixed flickering pixels between darker style tiles in the global view. (#12145)
- Fix occasional missing tiles at the bottom of the screen during globe-mercator transitions (#12137)
- Fixed an issue that incorrectly required a three-finger drag to change pitch with a collaborative gesture in fullscreen mode. (#12165)
- repair
map.getStyle()
Terrain error triggered when used with globe view (#12163) - Fix invalid AABB calculation as part of globe tile cover (#12207)
- Fix potential performance regression with image source updates (#12212)
- Fix memory leak when deleting map (#12224) (h/t joewoodhouse )
- Fixed updating marker position when switching between world copy projection and no projection (#12242)
- Fix missing icons in some styles (#12299)
- Fixed overwriting all feature IDs when using objects to set promoteIds on other layers (#12322) (h/t yongjun21)
- Fix after removing the
trackPointer
Cursor returns to original state after popup window (#12230) (h/t camouflagedName)
For more details, please check: https://github.com/mapbox/mapbox-gl-js/releases/tag/v2.11.0
#Mapbox #released #WEB #GIS #development #framework #News Fast Delivery