CONSTANTS: Readonly<
{
DEFAULT_ZOOM: 3;
DEFAULT_CENTER: [number, number];
MAX_ZOOM_ON_FIT: 15;
POI_MARKER_SIZE: 12;
POI_MAX_ZOOM: 18;
POI_SWIPE_THRESHOLD: 50;
POI_LIGHTBOX_TRANSITION_MS: 300;
POI_SIDEPANEL_DEFAULT_WIDTH: 420;
ROUTE_MAX_ZOOM_ON_FIT: 14;
ROUTE_WAYPOINT_RADIUS: 5;
GEOJSON_MAX_ZOOM_ON_FIT: 15;
GEOJSON_POINT_RADIUS: 6;
FULLSCREEN_TRANSITION_MS: 10;
},
> = ...
Frozen tuning constants, exposed as
GeoLeaf.CONSTANTS.⚠️ Do not purge the "unused" keys. Only
DEFAULT_ZOOM,DEFAULT_CENTERandGEOJSON_MAX_ZOOM_ON_FIThave an internal reader; the other 10 have none, and a dead-code sweep flagged them as such (S5 backlog B.3). They are kept on purpose: all 13 are public API — documented key by key inpackages/core/docs/constants/GeoLeaf_Constants_README.md, mounted at runtime byglobals.core.ts, and re-exported bykernel-exports.ts(so they reach the generateddist/types/, the published type contract since ARCHI S6 removed the rootindex.d.ts).Removing one is a silent breaking change: integrators read them through the namespace, and until S5 the public type was a bare index signature, so TypeScript would not have flagged a single call site. That declaration is now explicit — a removal at least breaks compilation on the consumer side.