Default to zoom over Stockholm
This commit is contained in:
parent
471d8dded6
commit
55c7a45060
1 changed files with 4 additions and 4 deletions
|
|
@ -2598,13 +2598,13 @@
|
||||||
[100, 500], // bottom right
|
[100, 500], // bottom right
|
||||||
];
|
];
|
||||||
|
|
||||||
// create map positioned over AU and NZ
|
// create map positioned over Stockholm
|
||||||
var map = L.map('map', {
|
var map = L.map('map', {
|
||||||
maxBounds: bounds,
|
maxBounds: bounds,
|
||||||
}).setView([
|
}).setView([
|
||||||
-15,
|
59.3,
|
||||||
150,
|
378.1,
|
||||||
], 2);
|
], 10);
|
||||||
|
|
||||||
// remove leaflet link
|
// remove leaflet link
|
||||||
map.attributionControl.setPrefix('');
|
map.attributionControl.setPrefix('');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue