geojson to map. Interactive map of Nepal with simple interface to plug in any ts/js project.
- JavaScript 53.9%
- CSS 36.9%
- HTML 9.2%
| Nepal-GEOJSON | ||
| .DS_Store | ||
| app.js | ||
| DOCUMENTATION.md | ||
| index.html | ||
| LICENSE | ||
| map-logic.js | ||
| map-renderer.js | ||
| README.md | ||
| styles.css | ||
Nepal Interactive Map
An interactive, high-fidelity SVG map of Nepal featuring drill-down navigation from the national level to individual districts.
data used from : dataofsandy/Nepal-GEOJSON
Features
- 🇳🇵 Drill-down Navigation: Explore Country -> Province -> District.
- 🖐️ Draggable Canvas: Pan across the map with ease.
- 🤏 Pinch Gestures: Pinch to go back to the previous view (Mobile & Trackpad).
- 📱 Responsive Design: Fluid SVG rendering that works on all screen sizes.
- 🚀 Modular Refactor: Logic and Rendering are separated for high reusability.
Quick Start
- Ensure the
Nepal-GEOJSON/folder is present withprovince1.geojsonthroughprovince7.geojson. - Open
index.htmlin any modern web browser. - Use a local server, for eg: run
python -m http.serverfor the best experience with GeoJSON fetching. - Then go to
http://[::]:8000/
Screenshots
Documentation
For a deep dive into the code architecture, logic, and function references, please see: 👉 DOCUMENTATION.md
License
GPL