Added the getPopup function to L.Marker

This commit is contained in:
Scott Harvey 2012-12-04 12:21:33 +00:00
parent 7e029d21cc
commit e85a6a7aff
2 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -54,6 +54,12 @@ L.Marker.include({
return this;
},
getPopup: function () {
if (this._popup) {
return this._popup;
}
},
_movePopup: function (e) {
this._popup.setLatLng(e.latlng);
}