From c6a0b0da5e58fbcc0f6e0dfdba0fd280e97d955a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sun, 20 Sep 2026 15:34:58 +0200 Subject: [PATCH] Add fallback icon for unlisted historic tags --- app/utils/osm-icons.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/utils/osm-icons.js b/app/utils/osm-icons.js index 0f1f7db..0c6ec20 100644 --- a/app/utils/osm-icons.js +++ b/app/utils/osm-icons.js @@ -146,7 +146,6 @@ export const POI_ICON_RULES = [ { tags: { historic: 'wreck' }, icon: 'shipwreck-in-water' }, { tags: { historic: 'ruins' }, icon: 'camera' }, { tags: { historic: 'ruin' }, icon: 'camera' }, - { tags: { historic: 'yes' }, icon: 'camera' }, // Transport { tags: { aeroway: 'aerodrome' }, icon: 'plane-top-right' }, @@ -215,6 +214,9 @@ export const POI_ICON_RULES = [ { tags: { building: 'commercial' }, icon: 'commercial-building' }, { tags: { building: 'apartments' }, icon: 'lowrise-building' }, { tags: { building: 'office' }, icon: 'lowrise-building' }, + + // Fallback + { tags: { historic: true }, icon: 'camera' }, ]; /**