Skip to content

Commit

Permalink
using MapBox tiles for map
Browse files Browse the repository at this point in the history
  • Loading branch information
derekeder authored and Eric van Zanten committed Mar 7, 2014
1 parent ef9bc62 commit 9525333
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/map.js
Expand Up @@ -266,10 +266,8 @@
$('#start-date-filter').attr('placeholder', then.format('MM/DD/YYYY'));
$('#end-date-filter').attr('placeholder', moment().format('MM/DD/YYYY'));
map = L.map('map').setView([41.880517,-87.644061], 11);
L.tileLayer('http://{s}.tile.cloudmade.com/{key}/{styleId}/256/{z}/{x}/{y}.png', {
attribution: 'Mapbox <a href="http://mapbox.com/about/maps" target="_blank">Terms &amp; Feedback</a>',
key: 'BC9A493B41014CAABB98F0471D759707',
styleId: 22677
L.tileLayer('https://{s}.tiles.mapbox.com/v3/derekeder.hehblhbj/{z}/{x}/{y}.png', {
attribution: '<a href="http://www.mapbox.com/about/maps/" target="_blank">Terms &amp; Feedback</a>'
}).addTo(map);
map.addLayer(drawnItems);
var drawControl = new L.Control.Draw({
Expand Down

0 comments on commit 9525333

Please sign in to comment.