Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bryanbill/locator
This is a simple OpenLayers application that tracks the location of a device, and displays it on a map. It is intended to be used as a demonstration of the OpenLayers library.
https://github.com/bryanbill/locator
openlayers
Last synced: 28 days ago
JSON representation
This is a simple OpenLayers application that tracks the location of a device, and displays it on a map. It is intended to be used as a demonstration of the OpenLayers library.
- Host: GitHub
- URL: https://github.com/bryanbill/locator
- Owner: bryanbill
- License: mit
- Created: 2024-01-18T05:53:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-24T13:35:43.000Z (12 months ago)
- Last Synced: 2024-11-06T19:53:52.344Z (3 months ago)
- Topics: openlayers
- Language: JavaScript
- Homepage: https://locator-rouge.vercel.app/
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Locator - An OpenLayers live location tracker
This is a simple OpenLayers application that tracks the location of a device, and displays it on a map. It is intended to be used as a demonstration of the [OpenLayers](https://openlayers.org/) library.
## Usage
TO run this application, you will need to have [Node.js](https://nodejs.org/en/) installed. Then, run the following commands:
```bash
npm install
npm run dev
```This will start a development server on port 8080. You can then access the application at <>.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
```mermaid
graph TD
subgraph HTML
index.html
style.css
endsubgraph JavaScript
index.js
sw.js
endsubgraph External_Libraries
OpenLayers
endsubgraph IndexedDB
IDB
endsubgraph Service_Worker
sw.js
endindex.js --> OpenLayers
index.js --> IDB
index.js --> sw.js
sw.js --> IndexedDBstyle.css --> index.html
index.js --> index.html
OpenLayers --> index.html
sw.js --> index.html
```