[OpenLayers-Trac] [OpenLayers] #1122: ModifyFeature left over points after point deletion

OpenLayers trac at openlayers.org
Thu Nov 1 11:29:47 EDT 2007


#1122: ModifyFeature left over points after point deletion
-----------------------------------+----------------------------------------
 Reporter:  pvalsecc               |       Owner:  tschaub
     Type:  bug                    |      Status:  new    
 Priority:  minor                  |   Milestone:         
Component:  Control.ModifyFeature  |     Version:  SVN    
 Keywords:                         |  
-----------------------------------+----------------------------------------
 To reproduce (for example with examples/modify-feature.html):
  * Create a polygon
  * Use ModifyFeature to edit it
  * Select the polygon to put it in edition mode.
  * Click on an existing point handle (little circle) and drag it
  * While the mouse button is pressed, press the DEL key
  * Keep the mouse button down and move the mouse
  * Release the mouse button

 The point will be deleted from the polygon (good!), but the handle (little
 circle) of the deleted point will stay on your layer forever.

 Another very minor bug on the same subject:
  * Same as before up to the point where you select the polygon to put it
 in edition mode.
  * Click on a point handle in the middle of a segment (to create a new
 point) and drag it.
  * Keep the mouse button pressed and try to press the DEL key.

 The point is not deleted. You have to release the mouse button and re-
 click on it to be able to delete it.

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


More information about the Trac mailing list