Test MosqueList map view (OpenStreetMap), country/region filters, and address-vs-coordinates display. Use when testing the map page, location display, or when the user asks to test map or address behavior.
address or coordinates changed in mosques.json, re-check address vs coordinates display per this skill.See docs/socratic-prompts.md for more guiding questions.
Run:
npm run test
Relevant test files:
src/test/map-and-addresses.test.ts — map data filtering (mosques with coords, region/country filter), route and nav presence, location display priority (address over coordinates).What is tested:
/map and Navigation has a "Map" link.address, it is preferred over coordinates; when only coordinates, they are used; fallback is location, country.Start dev server: npm run dev. Open the app (e.g. http://localhost:5173).
Map page
/map.Address vs coordinates
address in data: displayed location should show the address (not lat/lng).coordinates: display should show coordinates (or "location, country" if no coords).src/data/mosques.json.Explore → Map
/map.npm run test passes./map loads Map page.Read, search, and create notes in the Obsidian vault.