Tuesday, January 11, 2011

Add Google Earth to your Google Map

Here is the javascript code that bind to a <div> element "map" for displaying the google earth 3d view on google map:


var map=new GMap2(document.getElementById("map"));
map.addMapType(G_SATELLITE_3D_MAP);

No comments:

Post a Comment