mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-30 23:30:04 +00:00
use correct OSM type for edit link
This commit is contained in:
@@ -220,6 +220,7 @@ export class OverpassLayer {
|
|||||||
query: query,
|
query: query,
|
||||||
icon: `overpass-${query}`,
|
icon: `overpass-${query}`,
|
||||||
tags: element.tags,
|
tags: element.tags,
|
||||||
|
type: element.type,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@@ -35,7 +35,8 @@
|
|||||||
<Button
|
<Button
|
||||||
class="ml-auto p-1.5 h-8"
|
class="ml-auto p-1.5 h-8"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
href="https://www.openstreetmap.org/edit?editor=id&node={poi.item.id}"
|
href="https://www.openstreetmap.org/edit?editor=id&{poi.item.type ??
|
||||||
|
'node'}={poi.item.id}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<PencilLine size="16" />
|
<PencilLine size="16" />
|
||||||
|
Reference in New Issue
Block a user