From 093889844f0daf3eebd660bda4b3a6724e481e03 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 2 Jul 2021 18:33:51 +0200 Subject: [PATCH] add OpenTopoMap support --- js/map.js | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.35.3