Track popup

This commit is contained in:
2026-05-02 17:54:34 +02:00
parent da46106779
commit 87286dc8fd
10 changed files with 191 additions and 69 deletions

View File

@@ -91,16 +91,16 @@
this.hash.items = [this.hash.items[0], this.options.type, this.options.id];
return this.map.panToBetweenPanels(this.lngLat, this.focusZoomLevel, iAnimDuration).then(() => {
this.openMarkerPopup();
this.openMarkerPopup(false);
});
},
openMarkerPopup() {
this.mouseOverDrill = true;
openMarkerPopup(bMouseEvent=true) {
this.mouseOverDrill = bMouseEvent;
if(this.map.isMarkerVisible(this.lngLat)) this.map.openMarkerPopup(this.options.id, this.options.type);
},
closeMarkerPopup() {
this.mouseOverDrill = false;
if(!this.popupRequested) this.map.closeMarkerPopup();
if(!this.popupRequested) this.map.closePopup();
this.popupRequested = false;
},
send() {