On Sep 7, 3:46 am, Fabrizio <[EMAIL PROTECTED]> wrote:
> Can you please tell me what i need to aff to my code (see at the end)
> to have a physical map (showing a physical relief map of the surface
> of the Earth) in place of normal map ?

This should help:
http://groups.google.com/group/Google-Maps-API/search?group=Google-Maps-API&q=G_PHYSICAL_MAP&qt_g=Search+this+group


> Thanks in advance for you help.
>
> Fabrizio
>
>     function initialize() {
>       if (GBrowserIsCompatible()) {
>         var map = new GMap2(document.getElementById("map_canvas"));
>                 map.addControl(new GSmallZoomControl());

// something like this should work:
      map.addMapType(G_PHYSICAL_MAP) ;
      map.setCenter(new GLatLng(89.000, 20.654297), 1,
G_PHYSICAL_MAP);

>         map.setCenter(new GLatLng(89.000, 20.654297), 1);
>                 map.addOverlay(new GMarker(new GLatLng(90.000, 20.654297)));
>                 map.addOverlay(new GMarker(new GLatLng(88.331, 14.144402)));
>
>       }
>     }
>
>     </script>
>   </head>
>   <body onload="initialize()" onunload="GUnload()">
>     <div id="map_canvas" style="width: 300px; height: 130px"></div>
>   </body>
> </html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to