[OpenLayers-Dev] fallTrough parameter example

Ivan Grcic ivan.grcic at geofoto.hr
Wed Jul 2 12:16:04 EDT 2008


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!



More information about the Dev mailing list