[OpenLayers-Trac] [OpenLayers] #3510: OpenLayers.Control.DragFeature should reset this.over on deactivate

OpenLayers trac-20090302 at openlayers.org
Wed Sep 21 07:21:54 EDT 2011


#3510: OpenLayers.Control.DragFeature should reset this.over on deactivate
---------------------------+------------------------------------------------
 Reporter:  arsgeografica  |       Owner:              
     Type:  bug            |      Status:  new         
 Priority:  minor          |   Milestone:  2.12 Release
Component:  general        |     Version:  2.11        
 Keywords:                 |       State:              
---------------------------+------------------------------------------------
 Using Webkit on iPad and Android we found that reusing the DragFeature
 control a second time doesn't start right.

 The first time it's activated() everything works as expected, then
 deactivating it and activating again, one can not start to drag a feature
 right away.

 In
 http://trac.osgeo.org/openlayers/browser/trunk/openlayers/lib/OpenLayers/Control/DragFeature.js#L174
 this.over is still true as it has not been set to false in deactivate().

 I think this should be fixed in the control.

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


More information about the Trac mailing list