[OpenLayers-Users] Mousewheel Zooms by 2 level

Bijoy K. Anupam bijoya at rediff.co.in
Tue Nov 11 06:43:58 EST 2008


Thanks Christopher for the reply.

I have defined a property to enable/disable the mousescroll similar to
Navigation.js. Reason for this is that when the map is in print mode in a
popup, I want the mouse scroll to be disabled, and other wise it should be
enabled.

All I meant was that mousewheel scroll zooms twice only after you add the
NavToolBar [ZoomBox]. So, In order to make OL more consistent, I thought we
should have given the user same kind of properties for NavToolBar as given
for Navigation control.

Also, the OL docs don't say that when you add NavToolBar control, you don't
have to add Navigation control. It was only after I explored, I found that
Navigation control is been included twice.

My efforts are only for those users who might face similar problem :)

- B




More information about the Users mailing list