Add fallback icon for unlisted historic tags

This commit is contained in:
2026-09-20 15:34:58 +02:00
parent 553faa5edd
commit c6a0b0da5e
+3 -1
View File
@@ -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' },
];
/**