View Single Post
Old 06-28-2007, 05:35 PM  
Nom_is
Confirmed User
 
Join Date: Jan 2006
Posts: 197
Ok, I figured it out. Just incase anybody looking for the answer stumbles across this thread:

In order to use the google satellite maps you have to set the map type using javascript. SetMapType is a javascript method of the GMap2 class.

Here is the code:

map.setMapType(G_SATELLITE_MAP);

Make sure you put it after the setCenter method otherwise it will not work.
__________________
ICQ# 314-721-978
Nom_is is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote