From 4f19b709052d84e051f1da0c5aa437a0b2b99215 Mon Sep 17 00:00:00 2001 From: Dauren777 Date: Fri, 19 Jun 2026 07:09:40 +0000 Subject: [PATCH] force map invalidateSize --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 3409ff9..6e72ae5 100644 --- a/index.html +++ b/index.html @@ -151,6 +151,7 @@ function init(){ roadsLayer=L.layerGroup().addTo(map); buildingsLayer=L.layerGroup().addTo(map); updateModeBadge(); + setTimeout(()=>map.invalidateSize(),100); } // ====================== ВЫБОР ЛОКАЦИИ ======================