Cannot modify a feature (linestring) that have two points at the same position, r=me, thanks pvalsecc for the patch and the detailed justification of this patch. (closes #1533)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7061 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -576,8 +576,8 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
}
|
||||
}
|
||||
collectComponentVertices.call(this, this.feature.geometry);
|
||||
this.layer.addFeatures(this.vertices, {silent: true});
|
||||
this.layer.addFeatures(this.virtualVertices, {silent: true});
|
||||
this.layer.addFeatures(this.vertices, {silent: true});
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user