title: google maps javascript v3 api not working
body: <p>I've tried all possible solutions but the map just isn't showing. My webview just shows blank.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
  &lt;link rel="stylesheet" type="text/css" href="theme.css"&gt; 
  &lt;script type="text/javascript"   src="https://maps.googleapis.com/maps/api/js?v=3&amp;sensor=false"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;  
  var map;  " +
  function initialize() {    
  var latitude = 0;    
  var longitude = 0;    
  if (window.android){      
      latitude = window.android.getLatitude();      
      longitude = window.android.getLongitude();    
      }    
  
  var myOptions = {      
          zoom: 20,      
          center: myLatLng      
          }    
  map = new google.maps.Map(document.getElementById('map_canvas'),      myOptions);
  }  
  
  function centerAt(latitude, longitude){    
      myLatlng = new google.maps.LatLng(latitude,longitude);    
      map.panTo(myLatLng);
      }
  &lt;/script&gt;
  &lt;title&gt;Insert title here&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div id="map_canvas" style="height: 100px; width=100px;"&gt;This is the map canvas&lt;/div&gt;
      &lt;script type="text/javascript"&gt;initialize();&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I've narrowed down to this line: map = new google.maps.Map(document.getElementById('map_canvas'),      myOptions);</p>
  
  <p>When this line is executed, it fails.</p>
  
  <p>Any help is appreciated. </p>
  
  <p>Thanks.</p>
  
  <p>Regards,
  Dexter</p>