Skip to content

Instantly share code, notes, and snippets.

@danswick
Last active April 6, 2016 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danswick/f2c18eb24a4fd2b91135 to your computer and use it in GitHub Desktop.
Save danswick/f2c18eb24a4fd2b91135 to your computer and use it in GitHub Desktop.
Maptime Chi Leaflet Start HTML
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.ie.css" />
<![endif]-->
<style type="text/css">
body {
padding: 0;
margin: 0;
}
html, body, #leaflet-map {
height: 90%;
}
</style>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
</head>
<body>
<div id="leaflet-map"></div>
<!-- with the '<script>' tag, we begin building our leaflet map! -->
<script>
var map = L.map('leaflet-map')
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment