title: Google Map problems
body: <p>i am trying to display google map in contact us page,do not know what is the actual problem it is not displaying, below is my code</p>
  
  <pre><code> &lt;script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&amp;libraries=places"&gt;
  
      if (navigator.geolocation) {
          navigator.geolocation.getCurrentPosition(success);
      } else {
          alert("Geo Location is not supported on your current browser!");
      }
      function success(position) {
          var latitude = position.coords.latitude;
          var longitude = position.coords.longitude;
          var city = position.coords.locality;
          var myLatlng = new google.maps.LatLng(latitude, longitude);
          var myOptions = {
              center: myLatlng,
              zoom: 12,
              mapTypeId: google.maps.MapTypeId.SATELLITE
          };
          var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
          var marker = new google.maps.Marker({
              position: myLatlng,
              title: "lat: " + latitude + " long: " + longitude
          });
  
          marker.setMap(map);
          var infowindow = new google.maps.InfoWindow({ content: "&lt;b&gt;User Address&lt;/b&gt;&lt;br/&gt; Latitude:" + latitude + "&lt;br /&gt; Longitude:" + longitude + "" });
          infowindow.open(map, marker);
      &lt;/script&gt;
  </code></pre>
  
  <p>
  please help</p>