force map invalidateSize
This commit is contained in:
parent
b956f61129
commit
4f19b70905
@ -151,6 +151,7 @@ function init(){
|
|||||||
roadsLayer=L.layerGroup().addTo(map);
|
roadsLayer=L.layerGroup().addTo(map);
|
||||||
buildingsLayer=L.layerGroup().addTo(map);
|
buildingsLayer=L.layerGroup().addTo(map);
|
||||||
updateModeBadge();
|
updateModeBadge();
|
||||||
|
setTimeout(()=>map.invalidateSize(),100);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ====================== ВЫБОР ЛОКАЦИИ ======================
|
// ====================== ВЫБОР ЛОКАЦИИ ======================
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user