That can be done using the mapConstructor option in the Exhibit.MapView.
Inside the mapConstructor function, you can create the map as you like.
Here is what I often use.

function newMapConstructor(mapDiv){
  map = new GMap2(mapDiv);
  map.setCenter(new GLatLng(39.2,-75.4), 8);
  map.addControl(new GLargeMapControl3D());
  map.addControl(new GMenuMapTypeControl());
  map.addControl(new GScaleControl());
  map.addMapType(G_PHYSICAL_MAP);
  map.setMapType(G_PHYSICAL_MAP);

  //you can add the mouse scroll wheel too
  map.enableScrollWheelZoom();

  return map;
}


- John

**************************************************
John Callahan, Geographic Information Scientist
Delaware Geological Survey, University of Delaware
URL: http://www.dgs.udel.edu
**************************************************


On Fri, Jul 30, 2010 at 8:29 PM, Yan <[email protected]> wrote:

>
> http://googlemapsapi.blogspot.com/2007/04/v278-go-ahead-scroll-your-mouse-wheels.html
>
> Thanks,
>
> Yan
>
> --
> 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]<simile-widgets%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/simile-widgets?hl=en.
>
>

-- 
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