Skip to content

Instantly share code, notes, and snippets.

@yhahn
Created September 5, 2012 13:43
Show Gist options
  • Save yhahn/3636749 to your computer and use it in GitHub Desktop.
Save yhahn/3636749 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Example</title>
<script src='http://api.tiles.mapbox.com/mapbox.js/v0.6.3/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v0.6.3/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>
var m = mapbox.map('map');
m.addLayer(new MM.Layer(new MM.Template('http://www.artic.edu/aic/collections/citi/images/standard/Zoomify/ZO_000002/90596_661526/TileGroup0/{Z}-{X}-{Y}.jpg')));
m.zoom(3).center({ lat: 45, lon: -90 });
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment