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]);