Suggest to add: src/layer/marker/Marker.Popup.js:7 if (this._popup) { ... } (to line 11) Also suggest to add method hasPopup() which verifies if popup exists for current Marker