[OpenLayers-Trac] [OpenLayers] #1533: Cannot modify a feature (linestring) that have two points at the same position

OpenLayers trac at openlayers.org
Thu May 1 17:50:47 EDT 2008


#1533: Cannot modify a feature (linestring) that have two points at the same
position
-----------------------------------+----------------------------------------
 Reporter:  pvalsecc               |       Owner:  tschaub
     Type:  feature                |      Status:  new    
 Priority:  minor                  |   Milestone:         
Component:  Control.ModifyFeature  |     Version:  2.6    
 Keywords:                         |       State:         
-----------------------------------+----------------------------------------
 If you edit a linestring that has two points at the same position or near
 each other, a virtual vertex will be created between those two points
 (which happen to be over those two points). Then, if you try to delete or
 move one of those two points, it's always the virtual vertex that takes
 the event (drawn after => first to take the event). There is no way to get
 out of this situation.

 Two avoid that, I suggest to draw the virtual vertices before the actual
 points. See attached patch.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1533>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list