Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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