Save strategy should preserve feature.url when transforming, p=pwr,me, r=me (closes #2215)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9752 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2009-10-24 01:55:55 +00:00
parent caff5d5261
commit 6e508f5cd6
3 changed files with 37 additions and 8 deletions

View File

@@ -166,6 +166,9 @@ OpenLayers.Strategy.Save = OpenLayers.Class(OpenLayers.Strategy, {
clone = orig.clone();
clone.fid = orig.fid;
clone.state = orig.state;
if(orig.url) {
clone.url = orig.url;
}
clone._original = orig;
clone.geometry.transform(local, remote);
clones[i] = clone;