Merge pull request #3499 from vingiarrusso/add-isPopupOpen-method
add isPopupOpen method to layer
This commit is contained in:
commit
dd904a9701
@ -35,6 +35,10 @@ L.Layer = L.Evented.extend({
|
|||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
isPopupOpen: function() {
|
||||||
|
return this._popup.isOpen();
|
||||||
|
},
|
||||||
|
|
||||||
_layerAdd: function (e) {
|
_layerAdd: function (e) {
|
||||||
var map = e.target;
|
var map = e.target;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user