Guest User

Untitled

a guest
May 22nd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. <script>
  2. function initMap() {
  3. console.log("hola");
  4. var uluru = {lat: -25.363, lng: 131.044};
  5. var map = new google.maps.Map(document.getElementById('map'), {
  6. zoom: 4,
  7. center: uluru
  8. });
  9. var marker = new google.maps.Marker({
  10. position: uluru,
  11. map: map
  12. });
  13. }
  14.  
  15. <div id="map"></div>
  16. <!-- Replace the value of the key parameter with your own API key. -->[enter image description here][1]
  17.  
  18. <script async defer src="https://maps.googleapis.com/maps/api/js?key=--aqui inserte mi key --&callback=initMap"></script>
Add Comment
Please, Sign In to add comment