From d689ceb5116d2fff2f5b1c9cb6ab63c36e1bf9da Mon Sep 17 00:00:00 2001 From: sora-ext Date: Mon, 24 Feb 2025 16:46:11 +0100 Subject: [PATCH] Update src/api.ts --- src/api.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api.ts b/src/api.ts index 5d4747f..8717b9c 100644 --- a/src/api.ts +++ b/src/api.ts @@ -96,7 +96,7 @@ export const icon_type = (item: NominatimResult): string => { "water": ["water", "river", "lake", "torrent", "aquarium"], "building": ["community_center", "locality"], "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"], "": ["?", "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) return k; } - console.log(item.display_name, item.category, item.type); return "question"; };