Keep fallback values in code in case config.js is not updated with new required fields
This commit is contained in:
parent
e91b22ede0
commit
23b5439159
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ BR.Map = {
|
||||||
})
|
})
|
||||||
.addTo(map);
|
.addTo(map);
|
||||||
if (!map.restoreView()) {
|
if (!map.restoreView()) {
|
||||||
map.setView(BR.conf.initialMapLocation, BR.conf.initialMapZoom);
|
map.setView(BR.conf.initialMapLocation || [50.99, 9.86], BR.conf.initialMapZoom || 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
// two attribution lines by adding two controls, prevents ugly wrapping on
|
// two attribution lines by adding two controls, prevents ugly wrapping on
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue