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)