title: show map Google Maps JavaScript API v3
body: <p>Hi everyone I try to use geolocalization for my webside made with joomla</p>
  
  <p>I obtained the latitude and longitude and fine... But dont show me any map
  In my code I am drawing the map inside a div</p>
  
  <p>this is my code</p>
  
  <pre><code>   &lt;script type="text/javascript"&gt;
       function init() {
       if (navigator.geolocation) {
       navigator.geolocation.getCurrentPosition(function(position) {
       var myLatlng = new google.maps.LatLng(position.coords.latitude,position.coords.longitude);
  
      var mapOptions= {
       zoom: 14,
       center: myLatlng,
       mapTypeId: google.maps.MapTypeId.ROADMAP
      };
  
       var map = new google.maps.Map(document.getElementById('map'), mapOptions);
       var marcador = new google.maps.Marker();
       marcador.setPosition(pos);
       marcador.setMap(map);
  
       }, function() {
       alert("su navegador no acepta geolocalización");
       });
       }
       }   
       google.maps.event.addDomListener(window, 'load', init);
       &lt;/script&gt;
  </code></pre>
  
  <p>in my head I have this</p>
  
  <pre><code>    &lt;script src="http://maps.googleapis.com/maps/api/js?sensor=false"&gt;&lt;/script&gt; 
      &lt;script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js?ver=3.1.2'&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and his in my body</p>
  
  <pre><code>&lt;div id="map"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I have been read other post with the same problem, but I don't find the error in my code.</p>
  
  <p>Thanks</p>