Remove hard coded assumption that layer zero is mapnik
This commit is contained in:
parent
8aa6d575ff
commit
7ac7db35b8
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ $(document).ready(function () {
|
|||
|
||||
openSidebar();
|
||||
|
||||
if (map.hasLayer(layers[0].layer)) {
|
||||
if (getMapBaseLayer().keyid == "mapnik") {
|
||||
$("#format_mapnik").prop("checked", true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue