foo
This commit is contained in:
parent
8683624557
commit
79ee099809
2 changed files with 7 additions and 4 deletions
|
|
@ -758,7 +758,7 @@ function isLeap(y) { return (y%4===0 && y%100!==0) || y%400===0; }
|
|||
// ── mini map ──
|
||||
function initMiniMap(lat, lon) {
|
||||
if (!miniMapInst) {
|
||||
miniMapInst = L.map("miniMap", { zoomControl: false, attributionControl: false, scrollWheelZoom: false })
|
||||
miniMapInst = L.map("miniMap", { zoomControl: true, attributionControl: false, scrollWheelZoom: false })
|
||||
.addLayer(L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"));
|
||||
}
|
||||
miniMapInst.setView([lat, lon], 11);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue