Create a gist now

Instantly share code, notes, and snippets.

Example of working links in tilemill rendered items.
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A MapBox Map</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<body>
<div id='map'></div>
<script>
// Visit https://www.mapbox.com/mapbox.js/overview/ for documentation and examples
var map = L.mapbox.map('map', 'energy.map_1312308925709')
.setView([33.450, -92.197], 5);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment