diff --git a/src/layer/marker/Marker.Popup.js b/src/layer/marker/Marker.Popup.js index 2171bbff..a3646533 100644 --- a/src/layer/marker/Marker.Popup.js +++ b/src/layer/marker/Marker.Popup.js @@ -43,6 +43,13 @@ L.Marker.include({ return this; }, + setPopupContent: function (content) { + if (this._popup) { + this._popup.setContent(content); + } + return this; + }, + unbindPopup: function () { if (this._popup) { this._popup = null;