thanks. Removing the Navigation control resolved this, and it's loaded anyway by default.

Another issue with the Spherical Mercator example is that for the PanZoomBar the slider is moving too far over the '+' and globe button at higher zoom levels because they're covered by the slider bar, thus the + button and globe are unusable.

Armin

On 15/06/2011 00:33, JK Chen wrote:
There was an post earlier saying that if application has two or more navigation 
controls then it will do that. And that's what was happening to my application.

However, I'm not sure what goes wrong with this example in the link, as I 
didn't try to figure it out.



-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Armin Burger
Sent: Tuesday, June 14, 2011 4:08 PM
To: [email protected]
Subject: [OpenLayers-Users] Spherical Mercator example and mouse wheel zoom

Hi

I have a question regarding the example for layers in Spherical Mercator at

http://openlayers.org/dev/examples/spherical-mercator.html

In contrast to other examples, the mouse wheel zoom is always zooming 2 levels 
at once for a single mouse click-turn. Using the + or - buttons the zoom is 
just one level. Is there a setting available that configures the mouse wheel 
zoom also to a single zoom level per click-turn as it is for most of the other 
OL examples I've seen?

Armin
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to