[OpenLayers-Dev] deactivating other handlers

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Thu Oct 25 04:57:37 EDT 2007


Hi devs,

I've written a FeatureInfo Handler, which only uses click. However, the
DragPan handler for instance is still active.

What is the best way to deactivate these other handlers?

Ofcourse I can also implement mousedown etc. and not let the event
propagate, but that seems a bit cumbersome.

Is there a way to make a Handler exclusive, or to remove all other handlers
from the map?

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl








More information about the Dev mailing list