View Single Post
  #31  
Old 05-19-2008, 08:16 PM
baerlichkeit's Avatar
baerlichkeit Offline
pp regular
 
Join Date: Mar 2008
Location: Berlin
Posts: 24
This one is the interesting part, I think:

http://code.google.com/apis/maps/doc....html#MapTypes

Add/modify this code in the map.php und you'll be fine.

For example (without testing)

replace
Code:
 var map = new GMap2(document.getElementById("map"));
with
Code:
 
var map = new GMap2(document.getElementById("map"));
map.setMapType(G_SATELLITE_MAP);
and a satellite view should be displayed.

The API is huge, take some time to explorere, it's fun I think
Reply With Quote