From ef32bcca33b6747a010210a35439459ade6cd779 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Thu, 1 Jun 2023 11:29:23 +0200 Subject: [PATCH] fix basemap.at attribution --- src/map.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map.ts b/src/map.ts index b9e6da1..da486b6 100644 --- a/src/map.ts +++ b/src/map.ts @@ -24,7 +24,7 @@ import {retina} from "./utils"; const basemap_lq_url = "https://maps.lw1.at/tiles/1.0.0/basemap/GLOBAL_MERCATOR/{z}/{x}/{y}.png" const basemap_hq_url = "https://maps.lw1.at/tiles/1.0.0/basemap_hq/webmercator_hq/{z}/{x}/{y}.png" -const basemap_attribution = "Datenquelle: basemap.at" +const basemap_attribution = "Datenquelle: basemap.at," const basemap_url = retina ? basemap_hq_url : basemap_lq_url @@ -46,6 +46,7 @@ const map = new Map({ new TileLayer({ source: new OSM({ url: "https://maps.lw1.at/tiles/1.0.0/basemap_orthofoto/GLOBAL_MERCATOR/{z}/{x}/{y}.jpeg", + attributions: [basemap_attribution] }), visible: false }),