mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 17:52:21 +00:00
fix(places): a small place in view comes before a far bigger namesake
findPlace looked at the detail tiles only when no city had the typed name, so a village called Paris in view lost to Paris, France. With includeSmallPlaces it now reads the places near the view as well and takes the nearest place of the name there, city or not. With none near, the largest city of the name still wins. Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
ec1fc6bc09
commit
f414df97eb
5 files changed
+89
-24
No files matched your search
@@ -1,8 +1,11 @@
|
||||
# Wikidata places detail tiles
|
||||
|
||||
Smaller towns and villages, below the cut-off of the cities pack
|
||||
(`../wikidata_cities`), for "places nearby" around one picked or named spot. Read by `placesNear` in `src/data/wikidataCities.js`. The app reads
|
||||
these files; it does not call Wikidata or any place service for them.
|
||||
(`../wikidata_cities`), for "places nearby" around one picked or named spot. Read by `placesNear` in `src/data/wikidataCities.js`, and by `findPlace`
|
||||
when asked to look for a small place by name near the view: a place of that
|
||||
name in view, or close to it, comes before a bigger city of the name far
|
||||
away. The app reads these files; it does not call Wikidata or any place
|
||||
service for them.
|
||||
|
||||
| File | Contents |
|
||||
|------|----------|
|
||||
|
||||
Reference in new issue
Block a user