mirror of
				https://github.com/gpxstudio/gpx.studio.git
				synced 2025-11-04 05:21:09 +00:00 
			
		
		
		
	use correct OSM type for edit link
This commit is contained in:
		@@ -220,6 +220,7 @@ export class OverpassLayer {
 | 
			
		||||
                                query: query,
 | 
			
		||||
                                icon: `overpass-${query}`,
 | 
			
		||||
                                tags: element.tags,
 | 
			
		||||
                                type: element.type,
 | 
			
		||||
                            },
 | 
			
		||||
                        },
 | 
			
		||||
                    });
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,8 @@
 | 
			
		||||
                <Button
 | 
			
		||||
                    class="ml-auto p-1.5 h-8"
 | 
			
		||||
                    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"
 | 
			
		||||
                >
 | 
			
		||||
                    <PencilLine size="16" />
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user