Merge pull request #3499 from vingiarrusso/add-isPopupOpen-method

add isPopupOpen method to layer
This commit is contained in:
Vladimir Agafonkin 2015-05-28 09:23:33 +03:00
commit dd904a9701

View File

@ -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;