mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-08-20 14:34:38 +00:00
Allow popups that are bound to markers to have new content set
This commit is contained in:
@ -43,6 +43,11 @@ L.Marker.include({
|
||||
return this;
|
||||
},
|
||||
|
||||
setPopupContent: function (content) {
|
||||
this._popup.setContent(content);
|
||||
return this;
|
||||
},
|
||||
|
||||
unbindPopup: function () {
|
||||
if (this._popup) {
|
||||
this._popup = null;
|
||||
|
Reference in New Issue
Block a user