Hi list,

When I zoom in or zoom out using mouse wheel, the map seems to go out
of focus , I also tried disabling mousewheelzoom through initalization
or calling the function but it just wont turn off.. any idea what I
might be doing wrong

 map = new OpenLayers.Map('map', { // initializing map div
                    controls: [ // adding controls
                        new
OpenLayers.Control.Navigation({zoomWheelEnabled:false}), //buttoms
                        new
OpenLayers.Control.PanZoomBar({'div':OpenLayers.Util.getElement('panZoomCont')}),
// add in external div
                        new OpenLayers.Control.MousePosition(), //
mouse position will be displayed
                        new OpenLayers.Control.KeyboardDefaults() //
keyboard pan
                    ],
                    maxResolution: 0.35156489274253466,
                    numZoomLevels: 15,
                    projection: new OpenLayers.Projection('EPSG:4326'),
                    maxExtent: new
OpenLayers.Bounds(-180.00014441640064,-90.00000000000003,180.00000000000014,90.0012250841777),
                    fallThrough: true
                });

                map.controls[0].disableZoomWheel(); // this is also
not making any effect


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

Reply via email to