Skip to content

Commit

Permalink
Update boundaries tileserver URL; refs cyclestreets/tilecache#6
Browse files Browse the repository at this point in the history
  • Loading branch information
mvl22 committed Feb 24, 2019
1 parent f0d273d commit df978f8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions config.js
Expand Up @@ -41,13 +41,7 @@ const mapboxAttribution = 'Map data &copy; <a href="http://openstreetmap.org">Op
OSMUrl = "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
cycleMapUrl = 'http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png',
mapnikBwUrl ='http://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png',
/* following URL found at http://korona.geog.uni-heidelberg.de/contact.html
'http://129.206.66.245:8007/tms_b.ashx?x={x}&y={y}&z={z}';
or
'http://korona.geog.uni-heidelberg.de/tiles/adminb/x={x}&y={y}&z={z}';
Now superseded by the following cyclestreets URL which transpates and forwards the request:
*/
adminBoundariesUrl = 'https://{s}.tile.cyclestreets.net/korona/{z}/{x}/{y}.png';
adminBoundariesUrl = 'https://{s}.tile.cyclestreets.net/boundaries/{z}/{x}/{y}.png';

const streets = L.tileLayer(mapboxUrl, {id: 'mapbox.streets',
attribution: L.Browser.mobile ? '' : cyclescapeAttribution + mapboxAttribution});
Expand Down Expand Up @@ -319,4 +313,4 @@ var config = {
}
]
}
}
}

0 comments on commit df978f8

Please sign in to comment.