reduce hiding distance for popups

This commit is contained in:
vcoppe committed 2024-10-01 14:18:23 +02:00
1 parent 11934e5825
commit 572d206c2c
2 files changed
+2 -2

No files matched your search

@@ -136,7 +136,7 @@ export class OverpassLayer {
maybeHidePopup(e: any) {
let poi = get(overpassPopupPOI);
if (poi && this.map.project([poi.lon, poi.lat]).dist(this.map.project(e.lngLat)) > 100) {
if (poi && this.map.project([poi.lon, poi.lat]).dist(this.map.project(e.lngLat)) > 60) {
this.hideWaypointPopup();
}
}