aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-06 16:48:08 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-06 16:48:08 +0900
commit6797acde45f7bac8cfb952a5777c2af65b01a904 (patch)
treea6532c31e18a926732de7559f83cadea64b1f49c
parentb7c05148ee0078a84e7e3d800ae4ff09fa5d0282 (diff)
modify bug:update route error when arrive destination
-rwxr-xr-xapp/navigation.qml2
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()
}