diff --git a/src/layer/marker/Marker.Popup.js b/src/layer/marker/Marker.Popup.js index 2171bbff..1b285255 100644 --- a/src/layer/marker/Marker.Popup.js +++ b/src/layer/marker/Marker.Popup.js @@ -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;