Releases: maplibre/maplibre-gl-js
v3.5.2
/~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
v3.5.1
/~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
/~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
/~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
v3.4.0
/~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
/~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()
andStyle.getLayer()
to beStyleLayer | undefined
to match the documentation (#2969) - Correct type of
Map.addLayer()
andStyle.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 beMap.setTerrain(options: TerrainSpecification | null): Map
per the API spec (#2993) - Correct function
Map.getTerrain(): TerrainSpecification
to beMap.getTerrain(): TerrainSpecification | null
for consistency with the setTerrain function (#3020)
v3.3.0
/~https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.2.2:
✨ Features and improvements
- Add support for
text-variable-anchor-offset
symbol style layer property (#2914)
v3.2.2
/~https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.2.1:
✨ Features and improvements
- Add
cache
parameter toRequestParameters
(#2910) - Removed some classed from the docs to better define the public API (#2945)
🐞 Bug fixes
v3.2.1
/~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
/~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 documentedMarker
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]