A real-time location tracking web app using the Leaflet.js library. It allows users to:
- Enter an initial and destination location
- Switch locations with a single click
- Detect their current location using the Geolocation API
- Display a dynamic map with route visualization
✅ Real-time location detection
✅ Interactive map with markers
✅ Switch functionality for locations
✅ Responsive & user-friendly interface
- Leaflet.js – Interactive mapping library
- JavaScript – Geolocation API integration
- HTML & CSS – Simple UI design
- Clone this repository:
git clone https://github.com/buggarajesh/Real-Time-Directions-Map.git