Search: add support for osm.org urls such as osm.org/node/42

This commit is contained in:
Pieter Vander Vennet 2024-08-25 02:40:56 +02:00
parent 3ac2f96868
commit 3ab1a0a3f2
11 changed files with 118 additions and 35 deletions

View file

@ -27,7 +27,8 @@ export type GeoCodeResult = {
osm_type?: "node" | "way" | "relation"
osm_id?: string,
category?: GeocodingCategory,
payload?: object
payload?: object,
source?: string
}
export interface GeocodingOptions {