[OpenLayers-Users] mousewheel event propagation not setting up
properly when div id != "map"
Eric Lemoine
eric.c2c at gmail.com
Sun Nov 9 00:46:15 EST 2008
Hi. Can you reproduce that in one of the OpenLayers examples
(lite.html for example) by changing the div id from "map" to whatever
makes the problem occur? Thanks. Eric
2008/11/8, Paul McCullough <paul.mccullough at sfgov.org>:
>
> 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.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list