Skip to content

feat: config-driven region (studymap.config.ts) #29

Description

@AnayDhawan

Headline v2.0 work (self-host / fork-loop). Region settings are baked into code, so a fork can't
retarget a new city without editing components. This is what lets a student in any city run StudyMap
for their own region.

Task

  • Create studymap.config.ts at the repo root holding center, defaultZoom, bounds, and the
    cities registry, sourced from src/lib/constants.ts.
  • Make the map, filters, and data validation read from this config.

Acceptance: changing only studymap.config.ts retargets the map to a different city/region.
Depends on: the constants-extraction keystone (v1.1.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is welcomeself-hostSelf-host / bring-your-own-data

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions