forked from MapComplete/MapComplete
Search: add support for osm.org urls such as osm.org/node/42
This commit is contained in:
parent
3ac2f96868
commit
3ab1a0a3f2
11 changed files with 118 additions and 35 deletions
|
|
@ -27,7 +27,8 @@ export default class GeocodingFeatureSource implements FeatureSource {
|
|||
display_name: gc.display_name,
|
||||
osm_id: gc.osm_type + "/" + gc.osm_id,
|
||||
osm_key: gc.feature?.properties?.osm_key,
|
||||
osm_value: gc.feature?.properties?.osm_value
|
||||
osm_value: gc.feature?.properties?.osm_value,
|
||||
source: gc.source
|
||||
},
|
||||
geometry: {
|
||||
type: "Point",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue