Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amankumarsinhagithub/live-location
Get User Live Location
https://github.com/amankumarsinhagithub/live-location
javascript leaflet leaflet-map leafletjs location location-tracking map openstreetmap
Last synced: about 1 month ago
JSON representation
Get User Live Location
- Host: GitHub
- URL: https://github.com/amankumarsinhagithub/live-location
- Owner: AmanKumarSinhaGitHub
- Created: 2024-05-20T11:42:54.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-30T08:38:46.000Z (7 months ago)
- Last Synced: 2024-11-21T20:06:05.846Z (about 1 month ago)
- Topics: javascript, leaflet, leaflet-map, leafletjs, location, location-tracking, map, openstreetmap
- Language: HTML
- Homepage: https://amankumarsinhagithub.github.io/Live-Location/
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Get Your Location
This project is a simple web application that allows users to set their delivery location using a map interface. It utilizes Leaflet, an open-source JavaScript library for interactive maps, and OpenStreetMap, a collaborative mapping project.
## Live Demo
Click Here to see the live demo: [Link](https://amankumarsinhagithub.github.io/Live-Location/)
## Features
- **Map Interface**: Users can interact with the map to set their delivery location by dragging the marker.
- **Geolocation**: Users can also use the "Current Location" button to set their delivery location based on their device's GPS coordinates.
- **Address Display**: The application displays the coordinates and the address of the selected location in real-time.## Installation
1. Clone the repository:
```bash
git clone https://github.com/AmanKumarSinhaGitHub/Live-Location.git
```2. Open `index.html` in your web browser.
## Usage
- Drag the marker on the map to set your delivery location.
- Click the "Current Location" button to set your delivery location based on your device's GPS coordinates.## Libraries Used
- [Leaflet](https://leafletjs.com/): Open-source JavaScript library for interactive maps.
- [OpenStreetMap](https://www.openstreetmap.org/): Collaborative mapping project providing free geographic data.## Credits
This project was created by [Your Name].
## License
This project is licensed under the MIT License