add isPopupOpen method to layer
This commit is contained in:
parent
45034155bd
commit
fd1b295b95
@ -35,6 +35,10 @@ L.Layer = L.Evented.extend({
|
||||
return this;
|
||||
},
|
||||
|
||||
isPopupOpen: function() {
|
||||
return !!(this._map._popup && this._map._popup.isOpen);
|
||||
},
|
||||
|
||||
_layerAdd: function (e) {
|
||||
var map = e.target;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user