[OpenLayers-Users] How to stop registering events

Eric Lemoine eric.lemoine at camptocamp.com
Thu Oct 29 10:40:18 EDT 2009


On Thu, Oct 29, 2009 at 3:17 PM, Max Stephan <x.zam at gmx.net> wrote:
>
> Hi Eric,
>
> thanks for your help but I don't get the idea what your code is doing. Could
> you explain it?

it was just to show you that unregister works as expected.

> Furthermore what is the unregister function in general
> exactly doing. Am I right in thinking it stops the previous defined
> registering of an event or is it doing something else?

it unregisters an event listener, it doesn't stop the event from being
triggered.


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list