Skip to content

Instantly share code, notes, and snippets.

@jfirebaugh
Forked from And-How/index.html
Last active December 27, 2015 02:39
Show Gist options
  • Save jfirebaugh/7253826 to your computer and use it in GitHub Desktop.
Save jfirebaugh/7253826 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Leaflet Map2</title>
<link rel="stylesheet" href="leaflet.css" />
<script type="text/javascript" src="js/leaflet.js"></script>
<link rel="stylesheet" type="text/css" href="leaflet-openweathermap.css" />
<script type="text/javascript" src="js/leaflet-openweathermap.js"></script>
<link rel="stylesheet" type="text/css" href="mapbox.css" />
<script type="text/javascript" src="js/mapbox.js"></script>
</head>
<body>
<!-- define a DIV into which the map will appear. Make it take up the whole window -->
<div style="width:100%; height:100%" id="map"></div>
<script type='text/javascript'>
<!-- Use your MapBox layer-->
var map = L.mapbox.map('map','ofurhe.map-448xuuy9');
map.addLayer(map);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment