aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-10 10:45:14 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-10 10:45:14 +0900
commite90b4cf9358a39d6cde661e769e592800effef0c (patch)
treee1afdfa97e04e74c0d53918851377787feb51aaa
parent6797acde45f7bac8cfb952a5777c2af65b01a904 (diff)
fix bug
-rwxr-xr-xapp/navigation.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/navigation.qml b/app/navigation.qml
index c53f362..c1404e3 100755
--- a/app/navigation.qml
+++ b/app/navigation.qml
@@ -714,6 +714,8 @@ ApplicationWindow {
if (Math.abs(map.pressX - mouse.x ) < map.jitterThreshold
&& Math.abs(map.pressY - mouse.y ) < map.jitterThreshold) {
// map.addDestination(lastCoordinate)
+ map.initDestination()
+ map.center = map.currentpostion
map.addDestination(QtPositioning.coordinate(35.6585580781371,139.745503664017))
// root.vui_startguidance()
// btn_guidance.sts_guide = 2;