kopia lustrzana https://github.com/manuelkasper/sotlas-frontend
Fix error when using non-swisstopo maps
rodzic
5bf0687f9e
commit
8c461a9332
|
@ -152,7 +152,9 @@ export default {
|
|||
map.setLayoutProperty('snowcover-partial', 'visibility', 'none')
|
||||
map.setLayoutProperty('snowcover', 'visibility', 'none')
|
||||
}
|
||||
map.setLayoutProperty('water_polygon', 'visibility', 'visible')
|
||||
if (map.getLayer('water_polygon')) {
|
||||
map.setLayoutProperty('water_polygon', 'visibility', 'visible')
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Ładowanie…
Reference in New Issue