[OpenLayers-Users] Greedy event handling

Erik Uzureau euzuro at gmail.com
Wed Jan 3 00:08:44 EST 2007


Hi Glen,

This is a good idea. Im not sure whether it should be the *default*
behaviour (though I am certainly willing to listen to motivations) but
the least we should do is allow this as an option.

I have made a new ticket [1] for this... patches welcome :-)

Erik

[1] http://trac.openlayers.org/ticket/457

On 12/10/06, Glen Stampoultzis <gstamp at gmail.com> wrote:
>
> I noticed that open layers swallows events such as mousemove so that I can't
> implement a global mousemove handler effectively.  After a but of hunting I
> tracked it down to line 145 in Map.js.  Changing the fallthrough param to
> true seems to do the trick.
>
> this.events = new OpenLayers.Events(this, div, this.EVENT_TYPES, true);
>
> Is there any reason why this shouldn't be the default?
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
>



More information about the Users mailing list