OpenTopoMap zoom 0-17

This commit is contained in:
Norbert Renner 2016-06-08 10:39:46 +02:00
parent d9d74bb221
commit e7fb105df7

View file

@ -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 &copy; <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 &copy; <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>'