Skip to content

Releases: maplibre/maplibre-gl-js

v5.0.0-pre.7

20 Nov 15:35
611aad3
Compare
Choose a tag to compare
v5.0.0-pre.7 Pre-release
Pre-release

Changes since MapLibre GL JS v5.0.0-pre.6:

✨ Features and improvements

  • ⚠️ Change drag rotate behavior to be around the center of the screen (#5074)
  • Export Event class (#5016)
  • Support Vertical Perspective projection (#5023)

🐞 Bug fixes

  • Fixes scale control for globe on zoom out (#4897)
  • Fixes cooperative gestures displaying the mobile help text when screen width is smaller than 480px on non-touch devices (#5053)
  • Fixes incorrect cluster radius scaling in GeoJSONSource.setClusterOptions() (#5055)
  • Improve innerHTML handling in code (#5057))
  • Fix geometry beyond tile borders being rendered (#4868)

Pre-release version

v5.0.0-pre.6

07 Nov 13:46
45add0e
Compare
Choose a tag to compare
v5.0.0-pre.6 Pre-release
Pre-release

Changes since MapLibre GL JS v5.0.0-pre.5:

✨ Features and improvements

  • When clustering circles and the promoteId is set to some parameter, the promoted ID is used on non-clustered features and the cluster_id is used on clustered features. Previously the ID was undefined for non-clustered features (#4899)
  • Support Terrain in Globe projection (#4976)
  • Improved performance of the coveringTiles (tile culling) function for globe (#4937)

🐞 Bug fixes

  • ⚠️ Fix level of detail at high pitch angle by changing which tiles to load (#3983)
  • ⚠️ Fix URL parsing in normalizeSpriteURL, sprite URLs must be absolute (#4962)

Pre-release version

v5.0.0-pre.5

03 Nov 14:06
927dd71
Compare
Choose a tag to compare
v5.0.0-pre.5 Pre-release
Pre-release

Changes since MapLibre GL JS v5.0.0-pre.4:

✨ Features and improvements

  • Catches network fetching errors such as CORS, DNS or malformed URL as actual AJAXError to expose HTTP request details to the "error" event (#4822)
  • Add setVerticalFieldOfView() to public API (#4717)
  • ⚠️ Return actual altitude from queryTerrainElevation + Pass non-translated matrices to custom layer on mercator map (#3854)
  • Disable sky when using globe and blend it in when changing to mercator (#4853)
  • New GlobeControl (#4960)

🐞 Bug fixes

  • Fix line-placed map-pitch-aligned texts being too large when viewed from some latitudes on a globe (#4786)
  • Disabled unsupported Fog rendering, for Terrain3D on Globe (#4963)

Pre-release version

v5.0.0-pre.4

29 Oct 12:16
9ba25c6
Compare
Choose a tag to compare
v5.0.0-pre.4 Pre-release
Pre-release

Changes since MapLibre GL JS v5.0.0-pre.3:

✨ Features and improvements

  • ⚠️ Changed geometry-type to identify "Multi-" features (#4877)
  • Add support for pitch > 90 degrees (#4717)

🐞 Bug fixes

  • ⚠️ Fix order of normalizeSpriteURL and transformRequest in loadSprite (#3897)
  • ⚠️ Remove unminified prod build (#4906)
  • Fix issue where raster tile source won't fetch updates following request error (#4890)
  • Fix 3D models in custom layers not being properly occluded by the globe (#4817)
  • Fix issue where raster tiles were not rendered correctly when using globe and terrain (#4912)

Pre-release version

v5.0.0-pre.3

21 Oct 11:30
92b86d5
Compare
Choose a tag to compare
v5.0.0-pre.3 Pre-release
Pre-release

Changes since MapLibre GL JS v5.0.0-pre.1:

✨ Features and improvements

  • Improve performance of queryRenderedFeatures by using JavaScript Sets 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

15 Oct 13:14
b841ccc
Compare
Choose a tag to compare
v5.0.0-pre.2 Pre-release
Pre-release

Changes since MapLibre GL JS v5.0.0-pre.1:

✨ Features and improvements

  • Improve performance of queryRenderedFeatures by using JavaScript Sets 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

30 Sep 07:42
4d8a0f8
Compare
Choose a tag to compare
v5.0.0-pre.1 Pre-release
Pre-release

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

23 Sep 09:03
87486a5
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v4.7.0:

🐞 Bug fixes

  • Fix circle won't render on mesa 24.1 with AMD GPU (#4062)
  • Fix hash router for urls ending with a hashtag (#4730)
  • Replace rollup-plugin-sourcemaps with rollup-plugin-sourcemaps2 (#4740)

v4.7.0

06 Sep 16:05
5c9227d
Compare
Choose a tag to compare

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.once and map.off methods (#4570)
  • Ensure GeoJSON cluster sources emit a console warning if maxzoom is less than or equal to clusterMaxZoom since 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 addSource and getSource (#4616)
  • Fix the color near the horizon when terrain is enabled without any sky (#4607)
  • Fix bug where fitBounds and cameraForBounds would 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
    using transformCameraUpdate caused the maxBounds to stop working just for east/west bounds. (#4625)

v4.6.0

22 Aug 11:47
b70ac2c
Compare
Choose a tag to compare

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