From d54d2db35117a2a7aa6c4b04e0539576a3d5a0af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=D1=81=20=D0=A1=D1=83=D0=BB=D1=82?= =?UTF-8?q?=D0=B0=D0=BD=D0=BE=D0=B2?= Date: Wed, 23 Sep 2026 15:09:39 +0300 Subject: [PATCH] =?UTF-8?q?diag(gps):=20=D0=BF=D0=B5=D1=80=D0=B5=D1=85?= =?UTF-8?q?=D0=B2=D0=B0=D1=82=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=B7=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=BA=D0=B8=20=D0=BC=D0=B0?= =?UTF-8?q?=D1=80=D0=BA=D0=B5=D1=80=D0=BE=D0=B2=20=D0=B2=20ObjectManager?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/gps/Yandex21Map.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/components/gps/Yandex21Map.tsx b/client/src/components/gps/Yandex21Map.tsx index c4510c0..50d1368 100644 --- a/client/src/components/gps/Yandex21Map.tsx +++ b/client/src/components/gps/Yandex21Map.tsx @@ -331,7 +331,13 @@ export function Yandex21Map({ collection.add(placemark); } } - if (omObjects.length > 0) objectManager.add(omObjects); + // ДИАГНОСТИКА: убрать после починки + try { + if (omObjects.length > 0) objectManager.add(omObjects); + console.log('[GPS-DIAG] OM added', omObjects.length, 'objects'); + } catch (err) { + console.error('[GPS-DIAG] OM add FAILED', err); + } // eslint-disable-next-line react-hooks/exhaustive-deps }, [dataKey, mapReady]);