Releases: maplibre/maplibre-gl-js
Releases · maplibre/maplibre-gl-js
v5.0.0-pre.3
Changes since MapLibre GL JS v5.0.0-pre.2:
✨ Features and improvements
- Improve performance of
queryRenderedFeaturesby using JavaScriptSets to assess layer membership internally (#4777)
🐞 Bug fixes
- Fix a memory leak due to missing removal of event listener registration (#4824)
- Improve symbol collision performance for both mercator and globe projections (#4778)
- Fix bad line scaling near the poles under globe projection (#4778)
- Fix globe loading many tiles at an unnecessarily high zoom level when the camera is pitched (#4778)
Pre-release version
v5.0.0-pre.2
Changes since MapLibre GL JS v5.0.0-pre.1:
✨ Features and improvements
- Improve performance of
queryRenderedFeaturesby using JavaScriptSets to assess layer membership internally (#4777)
🐞 Bug fixes
- Fix a memory leak due to missing removal of event listener registration (#4824)
- Improve symbol collision performance for both mercator and globe projections (#4778)
- Fix bad line scaling near the poles under globe projection (#4778)
- Fix globe loading many tiles at an unnecessarily high zoom level when the camera is pitched (#4778)
Pre-release version
v5.0.0-pre.1
Changes since MapLibre GL JS v4.7.1:
✨ Features and improvements
- Support globe mode (#3963)
- Merge atmosphere an sky implementation (#3888)
- Add option to display a realistic atmosphere when using a Globe projection (#3888)
Pre-release version
v4.7.1
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.7.0:
🐞 Bug fixes
v4.7.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.6.0:
✨ Features and improvements
- Support multiple layers in
map.on,map.onceandmap.offmethods (#4570) - Ensure GeoJSON cluster sources emit a console warning if
maxzoomis less than or equal toclusterMaxZoomsince in this case you may see unexpected results. (#4604)
🐞 Bug fixes
- Heatmap Fix for 3D terrain (#4571)
- Fix Map#off to not remove listener with layer(s) registered with Map#once (#4592)
- Improve types a bit for
addSourceandgetSource(#4616) - Fix the color near the horizon when terrain is enabled without any sky (#4607)
- Fix bug where
fitBoundsandcameraForBoundswould not display across the 180th meridian (antimeridian) - Fix white flickering on map resize (#4158)
- Fixed a performance regression related to symbol placement (#4599)
- Fix a bug where cloning a Transform instance didn't include the
lngRange. This caused a bug where
usingtransformCameraUpdatecaused themaxBoundsto stop working just for east/west bounds. (#4625)
v4.6.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.2:
✨ Features and improvements
- Prefer local glyph rendering for all CJKV characters, not just those in the CJK Unified Ideographs, Hiragana, Katakana, and Hangul Syllables blocks. (#4560))
🐞 Bug fixes
- Fix right-to-left layout of labels that contain characters in the Arabic Extended-B code block. (#4536)
- Fix 3D map freezing when camera is adjusted against map bounds. (#4537)
- Fix
getStyle()to return a clone so the object cannot be internally changed (#4488) - Fix issues with setting sky to
undefined(#4587))
v4.5.2
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.1:
✨ Features and improvements
- Emit events when the cooperative gestures option has prevented a gesture. (#4470)
- Enable anisotropic filtering only when the pitch is greater than 20 degrees to preserve image sharpness on flat or slightly tilted maps.
🐞 Bug fixes
- Fix camera being able to move into 3D terrain (#1542)
v4.5.1
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.5.0:
✨ Features and improvements
- Allow trackpad pinch gestures to break through the
cooperativeGesturessetting, bringing it in line with other embedded map behaviours, such as Google Maps and Mapbox. (#4465) - Expose projection matrix parameters (#3136)
- Add option to position markers at subpixel coordinates to prevent markers jumping on
moveend(#4458)
🐞 Bug fixes
- Fix lag on fast map zoom (#4366)
- Fix unguarded read access to possibly undefined object (#4431)
- Fix remove hash string when map is removed (#4427)
- Fix GeolocateControl may be added twice when calling addControl/removeControl/addControl rapidly (#4454)
- Fix
style.loadURLabort error being logged when removing style (#4425) - Fix vector tiles not loading when html is opened via "resource://android" (i.e., the assets folder) in GeckoView on Android (#4451)
v4.5.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.4.1:
✨ Features and improvements
- Add sky implementation according to spec (#3645)
🐞 Bug fixes
- Fix (de)serialization of extends of built-ins (currently only AjaxError) not working correctly in web_worker_transfer. Also refactored related web_worker_transfer code and added more tests (#4024)
v4.4.1
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.4.0:
🐞 Bug fixes
- Fix
terrainlistener memory leak when adding and removing Marker (#4284)