forked from MapComplete/MapComplete
Chore: linting
This commit is contained in:
parent
4625ad9a5c
commit
097141f944
307 changed files with 5346 additions and 2147 deletions
|
|
@ -65,8 +65,10 @@ export class PngMapCreator {
|
|||
|
||||
document.getElementById(freeComponentId).appendChild(div)
|
||||
const newZoom = settings.zoom.data + Math.log2(pixelRatio) - 1
|
||||
const rasterLayerProperties = settings.rasterLayer.data?.properties ?? AvailableRasterLayers.defaultBackgroundLayer.properties
|
||||
const style = rasterLayerProperties?.style ?? rasterLayerProperties?.url
|
||||
const rasterLayerProperties =
|
||||
settings.rasterLayer.data?.properties ??
|
||||
AvailableRasterLayers.defaultBackgroundLayer.properties
|
||||
const style = rasterLayerProperties?.style ?? rasterLayerProperties?.url
|
||||
const mapElem = new MlMap({
|
||||
container: div.id,
|
||||
style,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue