forked from MapComplete/MapComplete
UX: more work on a search function
This commit is contained in:
parent
3cd04df60b
commit
00ad21d5ef
30 changed files with 636 additions and 138 deletions
|
@ -44,7 +44,8 @@ export default class CoordinateSearch implements GeocodingProvider {
|
|||
lat: Number(m[1]),
|
||||
lon: Number(m[2]),
|
||||
display_name: "lon: " + m[2] + ", lat: " + m[1],
|
||||
source: "coordinateSearch"
|
||||
source: "coordinateSearch",
|
||||
category: "coordinate"
|
||||
})
|
||||
|
||||
|
||||
|
@ -54,7 +55,8 @@ export default class CoordinateSearch implements GeocodingProvider {
|
|||
lat: Number(m[2]),
|
||||
lon: Number(m[1]),
|
||||
display_name: "lon: " + m[1] + ", lat: " + m[2],
|
||||
source: "coordinateSearch"
|
||||
source: "coordinateSearch",
|
||||
category: "coordinate"
|
||||
})
|
||||
|
||||
return matches.concat(matchesLonLat)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue