dev #160

Merged
sora merged 97 commits from dev into master 2025-03-02 01:09:30 +01:00
Showing only changes of commit d689ceb511 - Show all commits

View File

@ -96,7 +96,7 @@ export const icon_type = (item: NominatimResult): string => {
"water": ["water", "river", "lake", "torrent", "aquarium"], "water": ["water", "river", "lake", "torrent", "aquarium"],
"building": ["community_center", "locality"], "building": ["community_center", "locality"],
"archway": ["bridge"], "archway": ["bridge"],
"tree": ["woodland", "shieling", "national_park", "park", "zoo", "garden"], "tree": ["woodland", "shieling", "national_park", "park", "zoo", "garden", "nature_reserve"],
"dice-five": ["water_park", "theme_park", "casino"], "dice-five": ["water_park", "theme_park", "casino"],
"": ["?", "neighbourhood", "quarter", "highway"], "": ["?", "neighbourhood", "quarter", "highway"],
} }
@ -105,7 +105,6 @@ export const icon_type = (item: NominatimResult): string => {
if (types[k].indexOf(t) >= 0 || types[k].indexOf(c) >= 0) if (types[k].indexOf(t) >= 0 || types[k].indexOf(c) >= 0)
return k; return k;
} }
console.log(item.display_name, item.category, item.type); console.log(item.display_name, item.category, item.type);
return "question"; return "question";
}; };