Skip to content

Instantly share code, notes, and snippets.

@tristen
Last active October 21, 2016 13:50
Show Gist options
  • Save tristen/c4c08dd8bf0449649195e54137f4e342 to your computer and use it in GitHub Desktop.
Save tristen/c4c08dd8bf0449649195e54137f4e342 to your computer and use it in GitHub Desktop.
Slivers [v1.0.1]
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<link rel='stylesheet' href='https://unpkg.com/[email protected]/dist/leaflet.css' />
<script src='https://unpkg.com/[email protected]/dist/leaflet.js'></script>
<style>
.map {
position:absolute;
top:0;bottom:0;left:0;
width:100%;
}
</style>
</head>
<body>
<div id='map' class='map'></div>
<script>
var map = L.map('map');
L.tileLayer('http://{s}.tile.stamen.com/toner/{z}/{x}/{y}.png').addTo(map);
map.setView([0, 0], 5);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment