Skip to content

Move hardcoded Lagos coordinates to a configurable default #147

Description

@snowrugar-beep
  • Problem Statement. Map.tsx initializes useState<[6.5244, 3.3792]>
    — hardcoded Lagos. Privacy and UX issue.
  • Why it matters. Defaulting to a precise city pin is a
    privacy leak when users land on /map without consent.
  • Expected Outcome. Map defaults to a private "world view" (zoom
    2); the user's first geolocation is opt-in via a banner.
  • Acceptance Criteria.
    1. Initial state zoom=2 center=[20,0].
    2. "Use my location" banner; clicking issues permission prompt.
  • Files / Modules. Frontend/src/components/map/Map.tsx,
    Frontend/src/components/map/LocationBanner.tsx new.
  • Difficulty. Easy.
  • Effort. 1 day.
  • Labels. frontend, privacy, good first issue.

Metadata

Metadata

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26frontendImported from docs/ISSUES_100.md (label "frontend").good first issueGood for newcomersprivacyImported from docs/ISSUES_100.md (label "privacy").

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions