diff --git a/src/layer/marker/.Marker.Popup.js.swp b/src/layer/marker/.Marker.Popup.js.swp new file mode 100644 index 00000000..f620e25f Binary files /dev/null and b/src/layer/marker/.Marker.Popup.js.swp differ diff --git a/src/layer/marker/Marker.Popup.js b/src/layer/marker/Marker.Popup.js index d05a3d7e..f0b054a0 100644 --- a/src/layer/marker/Marker.Popup.js +++ b/src/layer/marker/Marker.Popup.js @@ -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); }