diff options
author | 2019-06-06 16:48:08 +0900 | |
---|---|---|
committer | 2019-06-06 16:48:08 +0900 | |
commit | 6797acde45f7bac8cfb952a5777c2af65b01a904 (patch) | |
tree | a6532c31e18a926732de7559f83cadea64b1f49c | |
parent | b7c05148ee0078a84e7e3d800ae4ff09fa5d0282 (diff) |
modify bug:update route error when arrive destination
-rwxr-xr-x | app/navigation.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/navigation.qml b/app/navigation.qml index e3df499..c53f362 100755 --- a/app/navigation.qml +++ b/app/navigation.qml @@ -99,6 +99,8 @@ ApplicationWindow { var longitude = message_json[2].data[0].longitude var startFromCurrentPos = message_json[2].data[0].startFromCurrentPosition // map.doSetWaypointsSlot(latitude,longitude,startFromCurrentPos); + map.initDestination() + map.center = map.currentpostion map.addDestination(QtPositioning.coordinate(35.6585580781371,139.745503664017)) vui_startguidance() } |