Skip to content

Instantly share code, notes, and snippets.

@tkompare
Created June 4, 2013 16:18
Show Gist options
  • Save tkompare/5707272 to your computer and use it in GitHub Desktop.
Save tkompare/5707272 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1, maximum-scale=1 minimum-scale=1">
<meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1" />
<style>
#map img{max-width:none}
</style>
</head>
<body>
<div style="display:inline-block; position:relative; width:100%;">
<div style="margin-top:400px;">
<div id="map" style="position:absolute; top:0; bottom:0; left:0; right:0;">
</div>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="//maps.googleapis.com/maps/api/js?key=YOUR_GOOGLE_API_KEY_HERE&sensor=true" type="text/javascript"></script>
<script src="/js/main.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment