Skip to content

Instantly share code, notes, and snippets.

@jkeefe
Forked from eyeseast/index.html
Last active January 1, 2016 11:28
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 jkeefe/8138024 to your computer and use it in GitHub Desktop.
Save jkeefe/8138024 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'>
<meta charset="utf-8">
<title>wnyc-streets-us</title>
<link href="//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.css" rel="stylesheet">
<script src="//api.tiles.mapbox.com/mapbox.js/v1.5.2/mapbox.js"></script>
<style type="text/css">
html,
body,
#map {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
var map = L.mapbox.map('map', 'mapbox.natural-earth-hypso-bathy');
var streets = L.tileLayer('https://wnyc-streets-us.s3.amazonaws.com/{z}/{x}/{y}.png', {maxZoom: 13})
.addTo(map);
map.setView([41, -73], 7);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment