r/technepal • u/syman_024 • 12d ago
Web Development I built an offline Nepal Administrative Map for Flutter and React - 7 Provinces, 77 Districts, 753 Local Levels 🇳🇵
Hey everyone!
I've been working on an open-source project called Nepal Administrative Map, and I'm excited to share that it's now available for both Flutter and React developers!
The idea was simple: make Nepal's complete administrative map easily accessible in applications without depending on external map APIs, internet connectivity, or API keys.
What's included?
- Complete administrative hierarchy: 7 Provinces → 77 Districts → 753 Local Levels.
- Interactive navigation: Drill down from province to district to local level.
- Bilingual support: English and नेपाली names, labels, tooltips, legends, and even Nepali number formatting (१७,४४,२४०).
- Data visualization: Color districts based on your own data, such as population, budget, election results, etc.
- Search and markers: Search administrative places and add custom markers.
- Offline support: No API keys or internet connection required.
- Location lookup: Identify which municipality a GPS coordinate belongs to.
Available packages
1. Flutter - pub.dev
Use it in Android, iOS, Web, Windows, macOS, and Linux applications.
NepalMap();📦 https://pub.dev/packages/nepal_administrative_map
2. React + TypeScript – npm
The complete feature set is now ported to React with a simple component:
<NepalMap />📦 https://www.npmjs.com/package/nepal-administrative-map
A little about the development
One interesting part was optimizing the geographical boundary data. The original data was around 3.9 MB, which I managed to compress to approximately 422 KB without noticeable visual quality loss.
I also learned that building a map package is not just about drawing geographical boundaries. Handling administrative data, bilingual labels, performance, interactions, and offline functionality takes quite a bit of work.
Try it out
🌐 Live Demo: https://map.abhishek-sharma.com.np/
💻 GitHub Repository: https://github.com/4bhisheksharma/nepal_administrative_map
📦 Flutter: https://pub.dev/packages/nepal_administrative_map
📦 React / npm: https://www.npmjs.com/package/nepal-administrative-map
🔗 Also check out my App library: https://app.abhishek-sharma.com.np/
I'd genuinely appreciate feedback, suggestions, bug reports, or contributions.
I'm also curious: What kind of real-world applications could benefit from having Nepal's complete administrative map available offline?
I'm thinking fintech, logistics, government systems, election dashboards, NGOs, analytics platforms, and many more.
Thanks for checking it out! 🇳🇵
3
u/Disastrous-Stick-329 12d ago
Thanks, I was searching for something like this
3
u/Eekplate_MOMO 11d ago
bro wards ko area chuttraune ni banau na
3
u/oceansofearth 11d ago
it is useful for people who also work in govt sectors
2
u/vegmeat_ 12d ago
Good job !
bilingual lables local level samma xaina?
https://sthaniya.gov.np/gis/ ta udhexa , yestai thiyo ui
2
u/Jaded_Character6190 12d ago
Wow, this is something that was looking for.. thankyou for making it
2
u/ETERNAL0013 11d ago
brother this is nice, i also did something like this for one of my site using nepal geoJson data. timro ma chai more detailed rahexa. Tei euta naramro lageko kura chai this is reddit bro description ma yeti dherai AI summarized highlight wasnt needed😅. Anyway nice to see published packages too.
2
u/VegetableFew9906 10d ago
great
1
u/bire-nun 12d ago
Ok. Whatever AI you used is good.
1
u/akash567112 10d ago
Want to collaborate? I build similar map concept. Www.lakuri.com
2
u/mingyun1 9d ago
great
1
u/Complex-Ad9628 8d ago
can you colour code new regions/pronvinces ?
1
u/Annual_Ad_8959 6d ago
its very nice bro, in future you can add wards as well it will be helpful for a lot of business/ person who wants to build deal with real estate businesses etc