Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get GPS position for devices #108

Open
cdupont opened this issue Nov 29, 2019 · 2 comments
Open

Get GPS position for devices #108

cdupont opened this issue Nov 29, 2019 · 2 comments
Assignees

Comments

@cdupont
Copy link
Contributor

cdupont commented Nov 29, 2019

When using a mobile phone, it seems to be possible to get the GPS position within the browser:
https://stackoverflow.com/questions/2577305/get-gps-location-from-the-web-browser

This could be useful to input the position of a device or a gateway.

@cdupont
Copy link
Contributor Author

cdupont commented Nov 29, 2019

@cdupont
Copy link
Contributor Author

cdupont commented Nov 30, 2019

@KidusMT This one should be easy. Just include the library in https://github.com/Waziup/waziup-dashboard/blob/master/src/components/devices/device/LocationForm.js
And fill in the initialLocation, if GPS available.
Maybe a button with some label "Get location from Smart Phone GPS" would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants