Created
November 12, 2019 03:39
-
-
Save imammubin/87e9b84387517a06d3e5d8e130404717 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
<html> | |
<head></head> | |
<body> | |
<div id="map-canvas"></div> | |
<script src="https://maps.googleapis.com/maps/api/js"></script> | |
<script> | |
function initialize() { | |
var mapCanvas = document.getElementById('map-canvas'); | |
var mapOptions = { | |
center: new google.maps.LatLng(-6.5743075,106.640402), | |
zoom: 15, | |
mapTypeId: google.maps.MapTypeId.ROADMAP | |
} | |
var map = new google.maps.Map(mapCanvas, mapOptions) | |
} | |
google.maps.event.addDomListener(window, 'load', initialize); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment