Added the getPopup function to L.Marker
This commit is contained in:
parent
7e029d21cc
commit
e85a6a7aff
BIN
src/layer/marker/.Marker.Popup.js.swp
Normal file
BIN
src/layer/marker/.Marker.Popup.js.swp
Normal file
Binary file not shown.
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user