OpenTopoMap max zoom on fallback server only z15, fixes #21;
also fix max zoom for other services to actual
This commit is contained in:
parent
2b6be76cc4
commit
6a77c826e4
1 changed files with 4 additions and 4 deletions
|
|
@ -20,13 +20,13 @@
|
|||
});
|
||||
|
||||
var osmde = L.tileLayer('http://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png', {
|
||||
maxZoom: 19,
|
||||
maxZoom: 18,
|
||||
attribution: 'tiles by <a target="_blank" href="http://openstreetmap.de/karte.html">openstreetmap.de</a> ' + osmAttribution
|
||||
});
|
||||
|
||||
var topo = L.tileLayer('http://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', {
|
||||
minZoom: 5,
|
||||
maxZoom: 16,
|
||||
maxZoom: 15,
|
||||
attribution: 'tiles © <a target="_blank" href="https://opentopomap.org">OpenTopoMap</a>, <a target="_blank" href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>'
|
||||
+ ', <a target="_blank" href="http://viewfinderpanoramas.org">SRTM</a>'
|
||||
});
|
||||
|
|
@ -43,13 +43,13 @@
|
|||
});
|
||||
|
||||
var cycling = L.tileLayer('http://tile.waymarkedtrails.org/cycling/{z}/{x}/{y}.png', {
|
||||
maxZoom: 19,
|
||||
maxZoom: 18,
|
||||
opacity: 0.7,
|
||||
attribution: 'Cycling © <a target="_blank" href="http://cycling.waymarkedtrails.org">Waymarked Trails</a> '
|
||||
+ '(<a target="_blank" href="http://creativecommons.org/licenses/by-sa/3.0/de/deed.en">CC-BY-SA 3.0 DE</a>)'
|
||||
});
|
||||
var hiking = L.tileLayer('http://tile.waymarkedtrails.org/hiking/{z}/{x}/{y}.png', {
|
||||
maxZoom: 19,
|
||||
maxZoom: 18,
|
||||
opacity: 0.7,
|
||||
attribution: 'Hiking © <a target="_blank" href="http://hiking.waymarkedtrails.org">Waymarked Trails</a> '
|
||||
+ '(<a target="_blank" href="http://creativecommons.org/licenses/by-sa/3.0/de/deed.en">CC-BY-SA 3.0 DE</a>)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue