Hey ALL!
I'm using the google maps API with openstreetmap (see the following example code),
I'd like to add the google satellite view too.
How can this be accomplished?
var tilesMapnik = new GTileLayer(copyOSM, 1, 17, {tileUrlTemplate: 'http://tile.openstreetmap.org/{Z}/{X}/{Y}.png'});
var mapMapnik = new GMapType([tilesMapnik],G_NORMAL_MAP.getProjection(), "îôä");
map = new GMap2(document.getElementById("map_canvas"), { mapTypes: [mapMapnik] });
map.setCenter(new GLatLng(32.08, 34.82), 12);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
Explanation about using openstreetmap with google maps: