navigation: qml: remove start address and use current GPS location
[apps/navigation.git] / app / map / MapComponent.qml
index ce669ff..f8e8e37 100644 (file)
@@ -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)