In my map view I have my mouse wheel working to control my map's zoom
level. Unfortunately it also scrolls my html page up and down on the
screen (in ie9). In Google Chrome it behaves better. When my pointer
is in the map, the mouse wheel will zoom in/out of the map. When
outside the map, the page scrolls up/down.

    var newMapConstructor = function (mapDiv) {
        map = new GMap2(mapDiv);
        map.setCenter(new GLatLng(40.8, -82.8), 6);
        map.addControl(new GLargeMapControl3D());
        map.addControl(new GScaleControl());
        map.setMapType(G_PHYSICAL_MAP);
        map.enableScrollWheelZoom();
        map.enableContinuousZoom();
        return map;
    }

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to