mirror of
https://github.com/Maks1mS/free-ozon-dpr.git
synced 2024-12-23 18:42:59 +03:00
migrate to whatshere
This commit is contained in:
parent
38ea2317c0
commit
d941934758
2
popup.js
2
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") ?? "неизвестно";
|
||||
|
Loading…
Reference in New Issue
Block a user