Skip to content

Releases: maplibre/maplibre-gl-js

v3.4.1

Choose a tag to compare

@github-actions github-actions released this 11 Oct 13:41
fcd5c30

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

Choose a tag to compare

@github-actions github-actions released this 06 Oct 18:09
28af674

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

Choose a tag to compare

@github-actions github-actions released this 29 Aug 17:27
2fa582c

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

Choose a tag to compare

@github-actions github-actions released this 10 Aug 05:17
deb1276

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

✨ Features and improvements

v3.2.2

Choose a tag to compare

@github-actions github-actions released this 06 Aug 11:07
7e4e0cd

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

Choose a tag to compare

@github-actions github-actions released this 24 Jul 16:52
88818bc

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

Choose a tag to compare

@github-actions github-actions released this 10 Jul 05:33
541ac26

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

v3.2.0-pre.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Jul 17:43
a3d63a3
Bump version to 3.2.0-pre.3 (#2831)

v3.2.0-pre.2

v3.2.0-pre.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Jul 11:49
3b5a57f
Bump version to 3.2.0-pre.2 (#2825)

* Bump version to 3.2.0-pre.2

* Fix docs links to examples folder (#2826)

* Fix docs links to examples folder

* update more links

* Fix lowercase Issue

---------

Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>

v3.2.0-pre.1

v3.2.0-pre.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Jul 04:28
f75a9e6
Move examples to examples folder (#2818)