diff --git a/app/assets/javascripts/maps.js.coffee b/app/assets/javascripts/maps.js.coffee index cb8cce7f..5544393f 100644 --- a/app/assets/javascripts/maps.js.coffee +++ b/app/assets/javascripts/maps.js.coffee @@ -2,11 +2,13 @@ $(document).ready -> if $('#map').size() > 0 map = L.map('map').setView [46.5, 4], 6 - L.tileLayer('https://{s}.tiles.mapbox.com/v3/{id}/{z}/{x}/{y}.png', - id: 'examples.map-i86knfo3', - attribution: 'Map data © OpenStreetMap contributors, ' + - 'CC-BY-SA, ' + - 'Imagery © Mapbox' + L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', + #L.tileLayer('http://{s}.tile.cloudmade.com/{key}/{styleId}/256/{z}/{x}/{y}.png', + #L.tileLayer('http://otile{s}.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpeg', + #attribution: 'Tiles Courtesy of MapQuest — Map data © OpenStreetMap contributors, CC-BY-SA', + attribution: '© OpenStreetMap contributors', + #subdomains: '1234' + ).addTo map $.getJSON '/maps.json', (json) -> diff --git a/app/assets/stylesheets/maps.css.sass b/app/assets/stylesheets/maps.css.sass index 3066fac2..35d89d0f 100644 --- a/app/assets/stylesheets/maps.css.sass +++ b/app/assets/stylesheets/maps.css.sass @@ -2,4 +2,5 @@ #map height: 60em + @include box-shadow(0 0 1em SteelBlue) @include transition(none)