Hi. If fallThrough is set to false the events do not propagate to dom
elements that are children of the current element. Eric

2008/7/2, Ivan Grcic <[EMAIL PROTECTED]>:
> Dear all,
>
> I'm having little difficulties understanding how the fallThrough
> parameter in OpenLayers.Events class is working. Is this code supose
> to surpress second function (registered to click) event to execute?
>
> map.events.fallThrough=false;
>
> map.events.register("click", map, function2);
> map.events.register("click", map, function1);
>
> Can anyone give me some example/explanation please, I didnt manage to
> find any good ones.
> Im  using OL 2.6,
>
> thank you!
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
>
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to