Hi Matt,
Yes, this is rather easy to do, at least just to get your map
Earth-enabled. And it looks pretty cool. I haven't tried anything
sophisticated yet with the GE plugin. One of these days....
There are several ways to do it but I've only tried one. First, add a
mapConstructor function to your map view
ex:mapConstructor="newMapConstructor"
Then, add the javascript function newMapConstructor() somewhere on your
page. Since you are now constructing your own google map from scratch,
you need to add a few lines that Exhibit normally does for you. Here's
something that works well
function newMapConstructor(mapDiv){
map = new GMap2(mapDiv);
map.setCenter(new GLatLng(39.2,-75.4), 8);
map.addControl(new GLargeMapControl());
map.addControl(new GHierarchicalMapTypeControl());
map.addMapType(G_SATELLITE_3D_MAP);
return map;
}
The "G_SATELLITE_3D_MAP" control enables the Google Earth plugin (which
must be installed on the client to work.)
You can also add any of the map controls listed in
http://code.google.com/apis/maps/documentation/reference.html#GControlImpl
Hope this helps.
- John