[OpenLayers-Users] Greedy event handling

Glen Stampoultzis gstamp at gmail.com
Mon Dec 11 00:32:28 EST 2006


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20061211/302f5eb8/attachment.html


More information about the Users mailing list