A web-based location tracking application that allows users to track and display their current location on an interactive map, enter a specific location, and calculate distances between two points.
- Real-Time Location Tracking: Displays the user’s current location on the map using the browser’s geolocation API.
- Map Interaction: Users can interact with the map and click on any point to see its coordinates.
- Location Search: Search and navigate to a specific latitude and longitude.
- Distance Calculation: Calculates the distance between the current location and a user-entered location.
- Responsive Design: Works well across all devices (desktop, tablet, and mobile).
- HTML5: For the basic structure of the web page.
- CSS3: For styling and responsive design.
- JavaScript: For the dynamic behavior and interaction.
- Leaflet.js: A powerful JavaScript library for interactive maps.
- Geolocation API: For accessing the user’s location.
-
Track Your Location: Upon loading the page, the app will automatically request permission to access your current location and show it on the map.
-
Search for a Location: Enter a specific latitude and longitude in the search bar, and the map will move to that location.
-
Calculate Distance: After selecting two locations on the map, the app will calculate and display the distance between them.
We welcome contributions to improve the app!
This project is licensed under the MIT License - see the LICENSE file for details.