[OpenLayers-Trac] Re: [OpenLayers] #3091: get cross device touch dragging while letting mouse events propagate to controls

OpenLayers trac-20090302 at openlayers.org
Wed Feb 23 01:32:49 EST 2011


#3091: get cross device touch dragging while letting mouse events propagate to
controls
----------------------+-----------------------------------------------------
 Reporter:  tschaub   |       Owner:              
     Type:  bug       |      Status:  new         
 Priority:  critical  |   Milestone:  2.11 Release
Component:  Map       |     Version:  2.10        
 Keywords:  mobile    |       State:              
----------------------+-----------------------------------------------------

Comment(by erilem):

 So right now we call {{{Event.stop}}} in {{{Handler.Drag.dragstart}}},
 have you tried to just call {{{evt.preventDefault}}} to prevent the
 browser's default behavior while still letting the event go.

 That said, I think making the map and controls divs siblings makes sense.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3091#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list