dev #160
@ -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";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user