Never disable a base layer
This commit is contained in:
parent
8af92f463b
commit
759f51a57c
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ function setMapLayers(layerConfig) {
|
||||||
} else {
|
} else {
|
||||||
map.layers[i].setVisibility(true);
|
map.layers[i].setVisibility(true);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (!map.layers[i].isBaseLayer) {
|
||||||
map.layers[i].setVisibility(false);
|
map.layers[i].setVisibility(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue