Changeset 576
- Timestamp:
- 06/12/06 12:00:00 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Feature.js (modified) (1 diff)
- trunk/openlayers/lib/OpenLayers/Layer/WFS.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Feature.js
r526 r576 47 47 48 48 //remove the popup from the map 49 if (this.popup != null) { 50 this.layer.map.removePopup(this.popup); 49 if ((this.layer != null) && (this.layer.map != null)) { 50 if (this.popup != null) { 51 this.layer.map.removePopup(this.popup); 52 } 51 53 } 52 54 trunk/openlayers/lib/OpenLayers/Layer/WFS.js
r575 r576 48 48 49 49 50 /** 51 * 52 */ 53 destroy: function() { 54 OpenLayers.Layer.Grid.prototype.destroy.apply(this, arguments); 55 OpenLayers.Layer.Markers.prototype.destroy.apply(this, arguments); 56 }, 57 50 58 /** 51 59 * @param {OpenLayers.Bounds} bounds
