From: Robert Kaiser Date: Fri, 2 Jul 2021 16:33:51 +0000 (+0200) Subject: add OpenTopoMap support X-Git-Tag: production X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=093889844f0daf3eebd660bda4b3a6724e481e03;p=lantea.git add OpenTopoMap support --- diff --git a/js/map.js b/js/map.js index 983dff9..ac50370 100644 --- a/js/map.js +++ b/js/map.js @@ -49,6 +49,11 @@ var gMapStyles = { url: "https://tilecache[1-4].kairo.at/osmhot/{z}/{x}/{y}.png", // route through CORS+SSL tilecache @ kairo.at //url: "http://[a-c].tile.openstreetmap.fr/hot/{z}/{x}/{y}.png", // https has CAcert which doesn't work in browsers copyright: 'Map data and imagery © OpenStreetMap contributors, ODbL/CC-BY-SA'}, + opentopomap: + {name: "OpenTopoMap", + //url: "https://tilecache[1-4].kairo.at/opentopomap/{z}/{x}/{y}.png", // route through tilecache @ kairo.at + url: "https://[a-c].tile.opentopomap.org/{z}/{x}/{y}.png", + copyright: 'Map data: © OpenStreetMap contributors, SRTM | map style: © OpenTopoMap (CC-BY-SA)'}, hikebike: {name: "Hike and Bike (OSM)", url: "https://tilecache[1-4].kairo.at/hikebike/{z}/{x}/{y}.png", // route through CORS+SSL tilecache @ kairo.at