Add attributions for basemap.at.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Thu, 7 Jan 2021 21:31:36 +0000 (22:31 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Thu, 7 Jan 2021 21:31:36 +0000 (22:31 +0100)
wrmap.js

index 1ef8a367d06444d0834a77b2d9a42f4567947a76..51723339fdac2167b449b5d78cbf93bee4868f16 100644 (file)
--- a/wrmap.js
+++ b/wrmap.js
@@ -295,6 +295,7 @@ function init_wrmap(i, jq_map) {
                                matrixSet: 'google3857',
                                style: 'normal',
                        });
                                matrixSet: 'google3857',
                                style: 'normal',
                        });
+                       options['attributions'] = 'Grundkarte: <a href="https://www.basemap.at/">basemap.at</a>';
                        let layer_map = new ol.layer.Tile({
                                source: new ol.source.WMTS(options),
                        });
                        let layer_map = new ol.layer.Tile({
                                source: new ol.source.WMTS(options),
                        });