[OpenLayers-Trac] Re: [OpenLayers] #3400: Feature modification
management
OpenLayers
trac-20090302 at openlayers.org
Mon Jul 4 04:42:37 EDT 2011
#3400: Feature modification management
--------------------------+-------------------------------------------------
Reporter: ahocevar | Owner: tschaub
Type: feature | Status: closed
Priority: minor | Milestone: 2.12 Release
Component: Format.WFST | Version: 2.10
Resolution: fixed | Keywords:
State: Commit |
--------------------------+-------------------------------------------------
Comment(by ahocevar):
Bart: when we destroy the feature, we could nullify the modified property.
Since the gometry does not reference any other components, this should be
enough, right?
{{{
Index: lib/OpenLayers/Feature/Vector.js
===================================================================
--- lib/OpenLayers/Feature/Vector.js (revision 12149)
+++ lib/OpenLayers/Feature/Vector.js (working copy)
@@ -154,6 +154,7 @@
}
this.geometry = null;
+ this.modified = null;
OpenLayers.Feature.prototype.destroy.apply(this, arguments);
},
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/3400#comment:9>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list