summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/qml/Main.qml8
-rw-r--r--app/qml/MapWindow.qml4
2 files changed, 6 insertions, 6 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)
}
diff --git a/app/qml/MapWindow.qml b/app/qml/MapWindow.qml
index 8321515..efb4bcf 100644
--- a/app/qml/MapWindow.qml
+++ b/app/qml/MapWindow.qml
@@ -185,7 +185,7 @@ Item {
}
var dis = (total - ruler.currentDistance).toFixed(1);
- console.log("tbtnavi:dis = " + dis)
+ //console.log("tbtnavi:dis = " + dis)
// Set distance
tbt_board.do_setDistance(dis)
@@ -289,7 +289,7 @@ Item {
function do_setNextCrossDistance(distance) {
var dis = distance;
- console.log("tbtnavi:dis = " + dis)
+ //console.log("tbtnavi:dis = " + dis)
// Set distance
tbt_board.do_setDistance(dis)