Skip to content

Releases: maplibre/maplibre-gl-js

v3.5.1

17 Oct 20:37
f3f95f2
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.5.0:

🐞 Bug fixes

  • Fix regression introduced in 3.5.0, related to async/await (#3228)

v3.5.0

12 Oct 21:47
572d607
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.4.1:

✨ Features and improvements

  • Add setTiles method to RasterTileSource to dynamically update existing tile sources. (3208)

v3.4.1

11 Oct 13:41
fcd5c30
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.4.0:

✨ Features and improvements

  • Locally rendered glyphs are double resolution (48px), greatly improving sharpness of CJK text. (#2990, #3006)

🐞 Bug fixes

  • Fix setStyle->style.setState didn't reset _serializedLayers (#3133).
  • Fix Raster DEM decoding in safari private browsing mode (#3185)

v3.4.0

06 Oct 18:09
28af674
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.3.1:

✨ Features and improvements

  • Improve error message when a tile can't be loaded (#3130)
  • Support custom raster-dem encodings (#3087)

🐞 Bug fixes

  • Fixed Interrupting a scroll zoom causes the next scroll zoom to return to the prior zoom level by reseting scroll handler state properly (#2709, #3051)
  • Fix unit test warning about duplicate module names (#3049)
  • Correct marker position when switching between 2D and 3D view (#2996)
  • Fix error thrown when unsetting line-gradient [#2683]
  • Update raster tile end points in documentation
  • Avoiding inertia animation on Mac when reduced motion is on (#3068)
  • 3d buildings example doesn't work as expected (#3165)

v3.3.1

29 Aug 17:27
2fa582c
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.3.0:

✨ Features and improvements

  • Copy LICENSE.txt to dist folder so it's included in 3rdpartylicenses.txt by webpack (#3021)

🐞 Bug fixes

  • Correct declared return type of Map.getLayer() and Style.getLayer() to be StyleLayer | undefined to match the documentation (#2969)
  • Correct type of Map.addLayer() and Style.addLayer() to allow adding a layer with an embedded source, matching the documentation (#2966)
  • Throttle map resizes from ResizeObserver to reduce flicker (#2986)
  • Correct function Map.setTerrain(options: TerrainSpecification): Map to be Map.setTerrain(options: TerrainSpecification | null): Map per the API spec (#2993)
  • Correct function Map.getTerrain(): TerrainSpecification to be Map.getTerrain(): TerrainSpecification | null for consistency with the setTerrain function (#3020)

v3.3.0

10 Aug 05:17
deb1276
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.2.2:

✨ Features and improvements

v3.2.2

06 Aug 11:07
7e4e0cd
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.2.1:

✨ Features and improvements

🐞 Bug fixes

  • Properly check ImageBitmap (#2942, #2940)
  • VectorTileWorkerSource: fix reload for original's load parse would not pass the rawTileData and meta. (#2941)

v3.2.1

24 Jul 16:52
88818bc
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.2.0:

✨ Features and improvements

  • Remove cooperative gesture screen from the accessibility tree since screenreaders cannot interact with the map using gestures
  • Add cooperated gestures example to the doc.(#2860)

🐞 Bug fixes

  • Incorrect distance field of view calculation for negative elevation, fixed by storing min elevation for the tile in view (#1655, #2858)
  • Fix reloadCallback not firing on VectorTileWorkerSource.reloadTile (#1874)
  • Fix RasterDEMTileSource not serializing its options correctly (#2895)
  • Remove node and jest from dist type checking, fix map event and other typing problems (#2898)

v3.2.0

10 Jul 05:33
541ac26
Compare
Choose a tag to compare

https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.1.0:

✨ Features and improvements

  • Change all internal exports to named exports(#2711)
  • Docs generation is now part of this repo(#2733)
  • Add className option to Marker constructor (#2729)
  • Immediately redraw the map after setting pixel ratio (#2674)
  • Add maxCanvasSize option to limit canvas size. It can prevent reaching the GL limits and reduce the load on the devices. Default value is [4096, 4096].
  • Reduce maxCanvasSize when hitting GL limits to avoid distortions (#2674)
  • Rewrite all the code comments in TSDocs, introduced a new documentaiton system and moved examples into this repository for better debug options (#2756)
  • ⚠️ Removed non documented Marker constructor parameter (#2756)

🐞 Bug fixes

  • Return undefined instead of throwing from Style.serialize() when the style hasn't loaded yet (#2712)
  • Don't throw an exception from checkMaxAngle when a label with length 0 is on the last segment of a line (#2710)
  • Fix the tap then drag zoom gesture detection to abort when the two taps are far away (#2673)
  • Fix regression - update pixel ratio when devicePixelRatio changes, restoring the v1.x behaviour (#2706)
  • Fix incorrect elevation calculation [#2772]

v3.2.0-pre.3

09 Jul 17:43
a3d63a3
Compare
Choose a tag to compare
v3.2.0-pre.3 Pre-release
Pre-release
Bump version to 3.2.0-pre.3 (#2831)