New WMTSCapabilities link for basemap.at.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Mon, 15 Feb 2021 20:24:29 +0000 (21:24 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Mon, 15 Feb 2021 20:24:29 +0000 (21:24 +0100)
wrmap.js

index f0ac4b69324a99f482544cdc5335e0ae9c8ebe48..f046114725101e83d5172adaddbd9c66a4e4a8ef 100644 (file)
--- a/wrmap.js
+++ b/wrmap.js
@@ -292,7 +292,7 @@ function init_wrmap(i, jq_map) {
                return austria_feature.getGeometry().intersectsCoordinate(feature.getGeometry().getFirstCoordinate());
        }
        let austria_only = features_all.every(is_in_austria);
-       let capabilitiesUrl = austria_only ? 'https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xml' : 'https://maps.wien.gv.at/vao/1.0.0/WMTSCapabilities.xml';
+       let capabilitiesUrl = austria_only ? 'https://maps.wien.gv.at/basemap/1.0.0/WMTSCapabilities.xml' : 'https://maps.wien.gv.at/vao/1.0.0/WMTSCapabilities.xml';
        fetch(capabilitiesUrl).then(function(response) {
                return response.text();
        }).then(function(text) {