forked from MapComplete/MapComplete
Add sunny unlabeld, fix label export
This commit is contained in:
parent
5984d0c19e
commit
5cd7f0976e
8 changed files with 2983 additions and 25 deletions
|
@ -131,7 +131,8 @@ class SingleBackgroundHandler {
|
|||
.layers.find((l) => l.id.startsWith("mapcomplete_"))?.id
|
||||
|
||||
if (background.type === "vector") {
|
||||
map.setStyle(background.style ?? background.url)
|
||||
const styleToSet = background.style ?? background.url
|
||||
map.setStyle(styleToSet)
|
||||
} else {
|
||||
map.addLayer(
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue