summaryrefslogtreecommitdiffstats
path: root/app/qml/Main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/qml/Main.qml')
-rw-r--r--app/qml/Main.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/qml/Main.qml b/app/qml/Main.qml
index 2162e2e..7b99ca5 100644
--- a/app/qml/Main.qml
+++ b/app/qml/Main.qml
@@ -45,7 +45,7 @@ ApplicationWindow {
}
onTextMessageReceived: {
- console.log("tbtnavi:onTextMessageReceived: " + message)
+ //console.log("tbtnavi:onTextMessageReceived: " + message)
var message_json = JSON.parse(message)
//analyse the infomation from the naviapi service
@@ -58,7 +58,7 @@ ApplicationWindow {
var longitude = message_json[2].data[0].DemoLongitude
var distance = message_json[2].data[0].DemoDistance
var direction = message_json[2].data[0].DemoDirection
- console.log("tbtnavi: distance = " + distance + "direction = " + direction)
+ //console.log("tbtnavi: distance = " + distance + "direction = " + direction)
mapwindow.do_setDirection(direction)
mapwindow.do_setNextCrossDistance(distance)
}
@@ -83,10 +83,10 @@ ApplicationWindow {
mapwindow.do_setdest(allroutes,destlat,destlon)
}
else if(message_json[2].event === event_gps){
- console.log ("tbt:Receive Event======event_gps")
+ //console.log ("tbt:Receive Event======event_gps")
var lat = message_json[2].data.latitude
var lon = message_json[2].data.longitude
- console.log ("tbt:Receive Event lat====== " + lat+" "+"lon======"+lon)
+ //console.log ("tbt:Receive Event lat====== " + lat+" "+"lon======"+lon)
mapwindow.do_setCoordinate(lat,lon)
}