diff --git a/lib/OpenLayers/Feature.js b/lib/OpenLayers/Feature.js index 7b5a3c593c..2eaafbdba5 100644 --- a/lib/OpenLayers/Feature.js +++ b/lib/OpenLayers/Feature.js @@ -161,6 +161,10 @@ OpenLayers.Feature = OpenLayers.Class({ * * If no 'lonlat' is set, returns null. * If no this.marker has been created, no anchor is sent. + * + * Note - the returned popup object is 'owned' by the feature, so you + * cannot use the popup's destroy method to discard the popup. + * Instead, you must use the feature's destroyPopup * * Note - this.popup is set to return value *