From d94193475881a2de0797a1bb02d5df5343ab7dfa Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Thu, 6 Jun 2024 20:37:58 +0300 Subject: [PATCH] migrate to whatshere --- popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popup.js b/popup.js index c770685..5067a1b 100644 --- a/popup.js +++ b/popup.js @@ -43,7 +43,7 @@ function onClick(event) { popupName.textContent = feature.get("name"); popupAddress.textContent = feature.get("address"); - popupAddress.href = `https://yandex.ru/maps/?pt=${lon},${lat}&z=18&l=map` + popupAddress.href = `https://yandex.ru/maps/?whatshere[point]=${lon},${lat}&whatshere[zoom]=18&l=map` popupLink.href = feature.get("link"); popupSource.href = feature.get("source"); popupOperationTime.textContent = feature.get("operationTime") ?? "неизвестно";