Skip to content

Instantly share code, notes, and snippets.

@evilnapsis
Last active August 29, 2015 14:28
Show Gist options
  • Save evilnapsis/4534930a00e9358f376d to your computer and use it in GitHub Desktop.
Save evilnapsis/4534930a00e9358f376d to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html, body { height: 100%; margin: 0; padding: 0; }
#map { height: 100%; }
</style>
</head>
<body>
<h1>Google Maps API v3: Introduccion</h1>
<div id="map"></div>
<script type="text/javascript">
var map;
function initMap() {
map = new google.maps.Map(document.getElementById('map'), {
center: {lat: 23.63, lng: -102.55},
zoom: 4
});
}
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDuBEidKGDuQo7Bzf1uRg47MPaRRlEesw0&callback=initMap">
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment