close popup on open
This commit is contained in:
parent
62e947f4cc
commit
410278dd58
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
L.Map.include({
|
L.Map.include({
|
||||||
openPopup: function(popup) {
|
openPopup: function(popup) {
|
||||||
|
this.closePopup();
|
||||||
this._popup = popup;
|
this._popup = popup;
|
||||||
this.addLayer(popup);
|
this.addLayer(popup);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user