OpenTopoMap zoom 0-17
This commit is contained in:
parent
d9d74bb221
commit
e7fb105df7
1 changed files with 1 additions and 2 deletions
|
|
@ -27,8 +27,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
var topo = L.tileLayer('http://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', {
|
var topo = L.tileLayer('http://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', {
|
||||||
minZoom: 5,
|
maxNativeZoom: 17,
|
||||||
maxNativeZoom: 15,
|
|
||||||
maxZoom: maxZoom,
|
maxZoom: maxZoom,
|
||||||
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>'
|
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>'
|
+ ', <a target="_blank" href="http://viewfinderpanoramas.org">SRTM</a>'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue