Skip to content

Instantly share code, notes, and snippets.

@joyrexus
Forked from tmcw/index.html
Last active December 22, 2015 22:59
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 joyrexus/6544022 to your computer and use it in GitHub Desktop.
Save joyrexus/6544022 to your computer and use it in GitHub Desktop.
Mapping migratory bird species
<!DOCTYPE html>
<meta charset=utf-8 />
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.3.1/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.3.1/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:relative; width:960px;height:500px; }
</style>
<body>
<div id='map'></div>
<script type='text/javascript'>
var map = L.mapbox.map('map', 'examples.map-8ced9urs');
map.gridControl.options.follow = true;
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment