[OpenLayers-Dev] unregister the click event

Darko Radiceski radiceski at gmail.com
Tue Jun 24 05:05:33 EDT 2008


Greetings all,

I have something like this:

map.events.register('click', map, function (e) {

that would register the click event.

but i would like to be able to unregister that click event.

I seem to not be able to do that.

I tried:

map.events.unregister('click', map, function (e) {});

but that does not work.

Any ideas?

cheers
Dan

-- 
Radiceski Dan
University of Wollongong
Australia
SIFE - UOW Chapter - Alumni
CASUAL ACADEMIC STAFF TEACHING - UOW SITACS
(School of Information Technology and Computer Science,University of
Wollongong)
Univeristy of Wollongong - Alumni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20080624/1e469f0e/attachment.html


More information about the Dev mailing list