Track popup
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user