V3 Maps Google Code Apis


V3 Maps Version:


Google Codes: JavaScript Api Version 3 for Google Maps. For Google sites the Maps Code must be embedded in a Google Sites Gadget.

The Maps Version 3 from Google Code has many new features. These features support smart phones and mobile internet devices even more.

Google Version 2 has been depreciated so all V2 embedded maps must move to the
V3 Maps Version.



Live Html Editor [Larger View] 


Edit your Google Gadget LIVE >>>

Copy and Paste the Main Google Gadget  code>>>


V3 Maps Google Gadget Code:


<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="V3 Maps Google Code"  width="400" height="400"/>
<Content type="html"><![CDATA[


    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript">

      function initialize() {
        var mapDiv = document.getElementById('map-canvas');
        var map = new google.maps.Map(mapDiv, {
          center: new google.maps.LatLng(37.4419, -122.1419),
          zoom: 13,
          mapTypeId: google.maps.MapTypeId.ROADMAP
        });
      }
      

      google.maps.event.addDomListener(window, 'load', initialize);
    </script>
  
    <div id="map-canvas" style="width: 400px; height: 400px"></div>
  



]]></Content>
</Module>