Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- function initMap() {
- console.log("hola");
- var uluru = {lat: -25.363, lng: 131.044};
- var map = new google.maps.Map(document.getElementById('map'), {
- zoom: 4,
- center: uluru
- });
- var marker = new google.maps.Marker({
- position: uluru,
- map: map
- });
- }
- <div id="map"></div>
- <!-- Replace the value of the key parameter with your own API key. -->[enter image description here][1]
- <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