diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-11-21 16:35:17 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-11-21 23:12:08 -0800 |
commit | dd12df5cffa9f2f8b674ce963d4e404e3f6fa824 (patch) | |
tree | f4af7cc6cd0e09f32aa34ebbc644a14f9b94cfa3 /app/mapviewer.qml | |
parent | 31a4cd81829e4a95b76d6cbebd9e069ae16943f8 (diff) |
navigation: geoclue: use geoclue data to get initial location
Get initial data from geoclue binding in case GPS doesn't have lock
currently. This is useful for starting within a parking garage or
underground
Change-Id: I56143d01734bbd8c1cc286950200d2b84bbb5d2c
Bug-AGL: SPEC-1068
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/mapviewer.qml')
-rw-r--r-- | app/mapviewer.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/mapviewer.qml b/app/mapviewer.qml index cada08b..079b240 100644 --- a/app/mapviewer.qml +++ b/app/mapviewer.qml @@ -66,6 +66,11 @@ ApplicationWindow { url: bindingAddress } + API.GeoClue { + id: geoclue + url: bindingAddress + } + function createMap(provider) { var plugin |