maplibre-gl
Advanced tools
Changelog
4.0.0-pre.1
ImageRequest
to be Promise
based (#3233)WorkerSource
and how it behaves (#3233)Source
interface to return promises instead of callbacks (#3233)map.loadImage
method to return a Promise
instead of a callback usage (#3233)Actor
against XSS attacks in postMessage / onmessage (#3239)Changelog
3.4.0
Changelog
3.3.1
Map.getLayer()
and Style.getLayer()
to be StyleLayer | undefined
to match the documentation (#2969)Map.addLayer()
and Style.addLayer()
to allow adding a layer with an embedded source, matching the documentation (#2966)Map.setTerrain(options: TerrainSpecification): Map
to be Map.setTerrain(options: TerrainSpecification | null): Map
per the API spec (#2993)Map.getTerrain(): TerrainSpecification
to be Map.getTerrain(): TerrainSpecification | null
for consistency with the setTerrain function (#3020)