Skip to content

Instantly share code, notes, and snippets.

@maptastik
Created December 2, 2016 16:29
Show Gist options
  • Save maptastik/ff6392b6182e46d1f21905db1e4fad52 to your computer and use it in GitHub Desktop.
Save maptastik/ff6392b6182e46d1f21905db1e4fad52 to your computer and use it in GitHub Desktop.
jQuery Geo starter
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jQuery Geo - Starter</title>
<style>
/* Fill the window with our map */
body {
margin: 0;
padding: 0;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<!-- Draw the map here -->
<div id="map"></div>
<!-- Include jQuery and jQuery Geo -->
<script src="http://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="http://code.jquerygeo.com/jquery.geo-1.0.0-rc1.min.js"></script>
<!-- Your code for the map -->
<script>
// Map code!
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment