This commit is contained in:
Andras Schmelczer 2026-05-26 19:45:13 +01:00
parent c645b0f1d4
commit 39ef5c6646
79 changed files with 5660 additions and 2199 deletions

View file

@ -171,6 +171,15 @@ export const POI_CATEGORY_LOGOS: Record<string, string> = {
'Off-Licence': '/assets/twemoji/1f377.png',
'Planet Organic': '/assets/poi-icons/logos/planet_organic.svg',
'Rail station': '/assets/twemoji/1f686.png',
School: '/assets/twemoji/1f3eb.png',
'Nursery school': '/assets/twemoji/1f9f8.png',
'Primary school': '/assets/twemoji/1f392.png',
'Secondary school': '/assets/twemoji/1f3eb.png',
'All-through school': '/assets/twemoji/1f3eb.png',
'Sixth form': '/assets/twemoji/1f4da.png',
'Further education college': '/assets/twemoji/1f4da.png',
University: '/assets/twemoji/1f393.png',
'Special school': '/assets/twemoji/1f91d.png',
"Sainsbury's": '/assets/poi-icons/logos/sainsburys.svg',
"Sainsbury's Local": '/assets/poi-icons/brands_2024/sainsburys_local.svg',
Spar: '/assets/poi-icons/logos/spar.svg',
@ -198,6 +207,9 @@ export const POI_CLUSTER_RADIUS = 50;
/** Zoom level at which supercluster stops clustering */
export const POI_CLUSTER_MAX_ZOOM = 15;
/** Zoom level at which individual POI cards are shown without hovering */
export const POI_AUTO_CARD_ZOOM_THRESHOLD = POI_CLUSTER_MAX_ZOOM + 1;
/**
* Groups whose features should be collapsed into stacked bar charts.
* Keyed by feature group name. Each entry defines one stacked chart.