forked from MapComplete/MapComplete
Feature: add more vector layers from maptiler; add some fixes to theme setting handler
This commit is contained in:
parent
94f9fe7b5f
commit
b3edbe846c
18 changed files with 155 additions and 99 deletions
|
@ -103,7 +103,7 @@
|
|||
let currentViewLayer = layout.layers.find((l) => l.id === "current_view")
|
||||
let rasterLayer: Store<RasterLayerPolygon> = state.mapProperties.rasterLayer
|
||||
let rasterLayerName =
|
||||
rasterLayer.data?.properties?.name ?? AvailableRasterLayers.maplibre.properties.name
|
||||
rasterLayer.data?.properties?.name ?? AvailableRasterLayers.maptilerDefaultLayer.properties.name
|
||||
onDestroy(
|
||||
rasterLayer.addCallbackAndRunD((l) => {
|
||||
rasterLayerName = l.properties.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue