Hello,
 
I want to deactivate the drag event in the following scenario. I've a tool that 
selects features from a WFS server, and I want to deactivate the drag event 
while you are selecting features, because if you move the mouse a bit while 
trying to select a feature, the feature is not selected and the map is moved to 
the draggd zone. I hope I've explained the problem properly. Is this possible??
 
In my selecting tool 'Select event' I tried something like this but it didn't 
work:
 
map.events.unregister('drag', map, stopDragEvent);
 
Does anybody know how to achieve this goal??
 
Thanks.
 

 

 

Un saludo,

 

··················································································


David Alda Fernández de Lezea

Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad

 

IKT

Granja Modelo s/n · 01192 · Arkaute (Araba)


··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: [email protected]                                web: www.ikt.es 
<http://www.ikt.es/> 
··················································································

<<logo.gif>>

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to