Skip to content

Releases: maplibre/maplibre-gl-js

v3.6.0

11 Nov 04:21
2f04957
Compare
Choose a tag to compare

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

✨ Features and improvements

  • Add getLayersOrder() to Map and Style (#3279)
  • Updated description of fullscreen example (#3311)

🐞 Bug fixes

  • Fix null feature properties in resolve_tokens (#3272)

v3.5.2

25 Oct 09:53
ff348da
Compare
Choose a tag to compare

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

✨ Features and improvements

  • Convert plantuml diagrams to mermaid (#3217)
  • Improve buffer transfer in Safari after Safari fixed a memory leak bug (#3225)
  • Minify internal exports to reduce bundle size (#3216)

🐞 Bug fixes

  • Add terrain property to map style object (#3234)
  • Fix exception thrown from isWebGL2 check (#3238)
  • Fix rollup watch mode (#3270)

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)