Created
July 19, 2018 11:30
-
-
Save getsudocode/441eafa56a9b1372fabffd33665f40bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let map; | |
function initMap() { | |
map = new google.maps.Map(document.getElementById('map'), { | |
center: {lat: -34.397, lng: 150.644}, | |
zoom: 8 | |
}); | |
let marker = new google.maps.Marker({ | |
map: map, | |
position: {lat: -34.397, lng: 150.644}, | |
icon: { | |
url: "http://maps.google.com/mapfiles/ms/icons/blue-dot.png" | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment