mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-07-04 17:01:31 +02:00
Default to zoom over Stockholm
This commit is contained in:
@@ -2598,13 +2598,13 @@
|
||||
[100, 500], // bottom right
|
||||
];
|
||||
|
||||
// create map positioned over AU and NZ
|
||||
// create map positioned over Stockholm
|
||||
var map = L.map('map', {
|
||||
maxBounds: bounds,
|
||||
}).setView([
|
||||
-15,
|
||||
150,
|
||||
], 2);
|
||||
59.3,
|
||||
378.1,
|
||||
], 10);
|
||||
|
||||
// remove leaflet link
|
||||
map.attributionControl.setPrefix('');
|
||||
|
||||
Reference in New Issue
Block a user