Skip to content

Commit

Permalink
removed unused tile sets
Browse files Browse the repository at this point in the history
  • Loading branch information
therefromhere committed Jan 3, 2017
1 parent f076836 commit c6c964f
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions web/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,37 +21,12 @@ mymap
//.on('locationerror', onLocationError)
.locate({setView: true, maxZoom: 16});

var Esri_WorldGrayCanvas = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}', {
attribution: 'Tiles © Esri — Esri, DeLorme, NAVTEQ'
});

// no https :/
var OpenStreetMap_BlackAndWhite = L.tileLayer('http://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
});

var OsmColour = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
})

var Stamen_Toner = L.tileLayer('https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.{ext}', {
attribution: 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> &mdash; Map data &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>',
subdomains: 'abcd',
minZoom: 0,
maxZoom: 20,
ext: 'png'
});

var CartoDB_Positron = L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> &copy; <a href="http://cartodb.com/attributions">CartoDB</a>',
subdomains: 'abcd',
maxZoom: 19
});

//Esri_WorldGrayCanvas.addTo(mymap);
//OpenStreetMap_BlackAndWhite.addTo(mymap);
//OsmColour.addTo(mymap);
//Stamen_Toner.addTo(mymap);
CartoDB_Positron.addTo(mymap);

function popUp(f,l) {
Expand Down

0 comments on commit c6c964f

Please sign in to comment.