summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-02-12 11:38:52 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-02-12 11:38:52 +0900
commit9ab659f2f229bad9bc8c9b229ff13d75d87133de (patch)
tree78361fb1d4864281ab5b9366d48305f8afb772c9
parent6809be1f4fabe846fde9113234f52da80c10221e (diff)
change default gps position to tokyosandbox/zheng_wenlong/amm2019_horizontal
-rw-r--r--app/file_operation.h4
-rwxr-xr-xapp/navigation.qml8
2 files changed, 6 insertions, 6 deletions
diff --git a/app/file_operation.h b/app/file_operation.h
index 618d26b..09f78fb 100644
--- a/app/file_operation.h
+++ b/app/file_operation.h
@@ -101,7 +101,7 @@ public:
}
Q_INVOKABLE double getLatitude() {
- double latitude = 36.136261;
+ double latitude = 35.692396;
QFile file(MAP_ACCESS_TOKEN_FILEPATH);
if (!file.open(QIODevice::ReadOnly)){
fprintf(stderr,"Failed to open mapAccessToken file \"%s\": %m", qPrintable(MAP_ACCESS_TOKEN_FILEPATH));
@@ -121,7 +121,7 @@ public:
}
Q_INVOKABLE double getLongitude() {
- double longitute = -115.151254;
+ double longitute = 139.691102;
QFile file(MAP_ACCESS_TOKEN_FILEPATH);
if (!file.open(QIODevice::ReadOnly)){
fprintf(stderr,"Failed to open mapAccessToken file \"%s\": %m", qPrintable(MAP_ACCESS_TOKEN_FILEPATH));
diff --git a/app/navigation.qml b/app/navigation.qml
index 4741685..795bfd4 100755
--- a/app/navigation.qml
+++ b/app/navigation.qml
@@ -109,20 +109,20 @@ ApplicationWindow {
geocodeModel.query = fromAddress
geocodeModel.update()
}
-
+
MapQuickItem {
id: poi
sourceItem: Rectangle { width: 14; height: 14; color: "#e41e25"; border.width: 2; border.color: "white"; smooth: true; radius: 7 }
coordinate {
- latitude: 36.136261
- longitude: -115.151254
+ latitude: 35.692396
+ longitude: 139.691102
}
opacity: 1.0
anchorPoint: Qt.point(sourceItem.width/2, sourceItem.height/2)
}
MapQuickItem {
sourceItem: Text{
- text: "Westgate"
+ text: "Hilton Tokyo"
color:"#242424"
font.bold: true
styleColor: "#ECECEC"