Memory Map is a simple personal memory atlas where users can click the map, name a location, and save it as a pin.
- Full-screen Leaflet map using OpenStreetMap tiles
- Default map center at Madhya Pradesh, India (
23.4733, 77.9470) with zoom7 - Optional live-location centering if the browser permission is granted
- Click-to-create pin flow with a "Name this memory" popup form
- Marker hover labels showing the memory name
- Pin persistence with
localStorage - Dark/light theme toggle with persistent theme preference
- Vanilla HTML, CSS, JavaScript
- Leaflet.js via CDN
- Browser
localStorage(no backend)
memory-map/
├── index.html
├── style.css
├── app.js
└── README.md
Pins are stored in localStorage as:
{
"id": "unique-id",
"name": "Memory Name",
"lat": 23.47,
"lng": 77.94,
"notes": "",
"photo": null
}- Open
index.htmldirectly in your browser, or - Serve the folder with any static server and visit it in the browser.
- This is Phase 1 only.
- Notes/photo editing per pin is intentionally not implemented yet (Phase 2).