diff options
author | 2019-02-12 11:38:52 +0900 | |
---|---|---|
committer | 2019-02-12 11:38:52 +0900 | |
commit | 9ab659f2f229bad9bc8c9b229ff13d75d87133de (patch) | |
tree | 78361fb1d4864281ab5b9366d48305f8afb772c9 | |
parent | 6809be1f4fabe846fde9113234f52da80c10221e (diff) |
change default gps position to tokyosandbox/zheng_wenlong/amm2019_horizontal
-rw-r--r-- | app/file_operation.h | 4 | ||||
-rwxr-xr-x | app/navigation.qml | 8 |
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" |