From 3964d861aebd390134c827912b8040a26e88e7ed 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 10:58:19 +0300 Subject: [PATCH] =?UTF-8?q?fix(gps):=20yandexMapDisablePoiInteractivity=20?= =?UTF-8?q?=E2=80=94=20=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20POI-=D1=85=D0=BE=D1=82=D1=81=D0=BF=D0=BE=D1=82=D1=8B?= =?UTF-8?q?=20=D0=AF=D0=BD=D0=B4=D0=B5=D0=BA=D1=81=D0=B0=20(403=20search/v?= =?UTF-8?q?2,=20=D0=B2=D0=BC=D0=B5=D1=88=D0=B0=D1=82=D0=B5=D0=BB=D1=8C?= =?UTF-8?q?=D1=81=D1=82=D0=B2=D0=BE=20=D0=B2=20=D0=BA=D0=BB=D0=B8=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=BF=D0=BE=20=D0=BC=D0=B0=D1=80=D0=BA=D0=B5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC)?= 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 71bfe9f..cae6365 100644 --- a/client/src/components/gps/Yandex21Map.tsx +++ b/client/src/components/gps/Yandex21Map.tsx @@ -89,7 +89,13 @@ export function Yandex21Map({ center: center ?? MOSCOW, zoom, controls: ['zoomControl'], - }); + }, { + // Отключаем интерактивность POI (кликабельные организации Яндекса): + // хотспоты дёргают services/search/v2 (403 на бесплатном ключе) и + // вмешиваются в обработку клика по нашим маркерам + yandexMapDisablePoiInteractivity: true, + suppressMapOpenBlock: true, + } as ymaps.IMapOptions); map.events.add('click', (e: ymaps.IEvent) => { const coords = e.get('coords') as [number, number];