fix(places): look for small places within 500 km, so a whole-globe view reads only the tiles near its centre

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-18 22:34:59 -08:00
1 parent f414df97eb
commit 30ec362c13
4 files changed
+68 -7

No files matched your search

+3 -1
View File
@@ -8253,7 +8253,9 @@ the name of a city within 3 km in the same country is that city, and only
the city is listed. A place named in "villages near …" is the nearest of
that name within 150 km of the view, small places included, so a village in
view comes before a bigger namesake far away; with none near, the largest
city of the name. At most 64 detail tiles are kept in memory, the least
city of the name. Small places are looked for within 500 km at most, so a
view zoomed out to the whole globe reads only the detail tiles around its
centre. At most 64 detail tiles are kept in memory, the least
recently used dropped first.
### Place-search providers