The map of Indonesia's administrative areas.
- Main data: idn-area API
- Boundary data: idn-area-boundary
- Search provinces, regencies, districts, and villages by name
- Get regencies by province, districts by regency, and villages by district
- Get the islands by regency and show its coordinates on the map
- Show the area boundaries on the map
- Toggle the visibility of the boundaries
- Button to see the area on Google Maps by coordinates
- Dark mode
- Responsive design (works on mobile)
Suggestions and contributions are welcome!
- Next.js + TypeScript
- Tailwind CSS + shadcn-ui
- React Leaflet + MapLibre GL (powered by Datawan)
- Clone this repository
- Install dependencies:
pnpm install
- Run the app:
pnpm run dev
- Open http://localhost:3000 with your browser to see the result.
This project is licensed under the MIT License.
Give a โญ๏ธ if this project helped you!
Also please consider supporting this project by becoming a sponsor. Your donation will help us maintain and develop this project and provide you with better support.