From 306ed2ae0e2ab46f32eadcc9d38c441c219cf428 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Fri, 11 Apr 2025 18:40:16 +0200 Subject: [PATCH] use correct OSM type for edit link --- website/src/lib/components/layer-control/OverpassLayer.ts | 1 + website/src/lib/components/layer-control/OverpassPopup.svelte | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/website/src/lib/components/layer-control/OverpassLayer.ts b/website/src/lib/components/layer-control/OverpassLayer.ts index 0d98d1bd..4d97b08a 100644 --- a/website/src/lib/components/layer-control/OverpassLayer.ts +++ b/website/src/lib/components/layer-control/OverpassLayer.ts @@ -220,6 +220,7 @@ export class OverpassLayer { query: query, icon: `overpass-${query}`, tags: element.tags, + type: element.type, }, }, }); diff --git a/website/src/lib/components/layer-control/OverpassPopup.svelte b/website/src/lib/components/layer-control/OverpassPopup.svelte index 2b3ab32c..59aa9226 100644 --- a/website/src/lib/components/layer-control/OverpassPopup.svelte +++ b/website/src/lib/components/layer-control/OverpassPopup.svelte @@ -35,7 +35,8 @@