[OpenLayers-Users] possible "click" events conflict?

Julien-Samuel Lacroix jlacroix at mapgears.com
Tue Nov 25 12:27:28 EST 2008


Hi,

Just a shot in the dark...

In short you call:
> map.events.register('click', map, onMapClick);
loop:
>     control.activate();

And then:
> map.events.unregister('click', this, onMapClick);
loop:
>     control.deactivate();

Is it possible that map.events.unregister disable the click for other 
events as well?

Julien


-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/



More information about the Users mailing list