github maplibre/maplibre-gl-js v3.3.1

latest releases: v4.7.0, v4.6.0, v4.5.2...
13 months ago

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)

Don't miss a new maplibre-gl-js release

NewReleases is sending notifications on new releases.