[OpenLayers-Users] mousewheel event propagation not setting up properly when div id != "map"

Paul McCullough paul.mccullough at sfgov.org
Fri Nov 7 20:28:10 EST 2008


All,

It appears that the proper setup of the mousewheel event propagation
requires this:
  <div id="map">
When I use 
  <div id="panel">
mousewheel zooming does not work, although double click zooming works and
panning works.

I use this line to enable the navigation controls
  map.addControl(new OpenLayers.Control.Navigation());

I do not have a public site to show you a demo (sorry).

I can easily live with this but it seems like a strange and rather opaque
initilization requirement.

Does this make sense to anyone?

Regards,
Paul

-- 
View this message in context: http://www.nabble.com/mousewheel-event-propagation-not-setting-up-properly-when-div-id-%21%3D-%22map%22-tp20390948p20390948.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list