summaryrefslogtreecommitdiffstats
path: root/app/map/MapComponent.qml
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-11-21 14:23:04 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-11-21 23:12:08 -0800
commit12d5a1e9aadc26ddd4aceadb96234bc4f378b39e (patch)
tree4439ed01f8695ed9ddbe377c6266d482c2aff4b4 /app/map/MapComponent.qml
parentdd12df5cffa9f2f8b674ce963d4e404e3f6fa824 (diff)
navigation: qml: remove start address and use current GPS location
Change RouteAddress form to use start location from current GPS coordinate instead of entering a start address. Bug-AGL: SPEC-1068 Change-Id: Id1a42ba409d24e527e613b67b9ac4583aff92ed4 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/map/MapComponent.qml')
-rw-r--r--app/map/MapComponent.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/map/MapComponent.qml b/app/map/MapComponent.qml
index ce669ff..f8e8e37 100644
--- a/app/map/MapComponent.qml
+++ b/app/map/MapComponent.qml
@@ -377,7 +377,7 @@ Map {
stackView.push(Qt.resolvedUrl("../forms/RouteAddress.qml"),
{ "plugin": map.plugin,
"toAddress": toAddress,
- "fromAddress": fromAddress})
+ "fromCoordinate": map.location})
stackView.currentItem.showRoute.connect(map.calculateCoordinateRoute)
stackView.currentItem.showMessage.connect(stackView.showMessage)
stackView.currentItem.closeForm.connect(stackView.closeForm)