mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Location service: upload GPS fixes to webservice
With this Subsurface-mobile should be able to mostly replace the companion app. This needs some more testing and fine tuning (for example the minimum time / distance should be configurable, there should be a location name), but I think the hard part is done now. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
577da54454
commit
7afed04520
4 changed files with 85 additions and 3 deletions
|
@ -158,6 +158,11 @@ void QMLManager::applyGpsData()
|
|||
locationProvider->applyLocations();
|
||||
}
|
||||
|
||||
void QMLManager::sendGpsData()
|
||||
{
|
||||
locationProvider->uploadToServer();
|
||||
}
|
||||
|
||||
void QMLManager::clearGpsData()
|
||||
{
|
||||
locationProvider->clearGpsData();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue