aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-03-04 16:05:08 -0500
committerScott Murray <scott.murray@konsulko.com>2021-03-04 16:21:36 -0500
commitab49f933d903271dcd51941356a7c1e5d4428b9b (patch)
treea3b581b1708033a05acf9193741a0dd0d8a390e9
parentff773d5e1a12f7962afe19659e24ba8a6ce0ab82 (diff)
Update MapBox style URLs
Remove the leading "mapbox://" from the default MapBox style URLs, as it now seems to break the resulting generated tile URLs in QtLocation. I suspect this is related to the HTTPS support that was added in Qt 5.12. Bug-AGL: SPEC-3837 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic4cc2d2bf1ab556a21c18e50f91d3124bf5b3e33
-rw-r--r--README.md2
-rw-r--r--app/file_operation.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1207d27..69a560e 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,6 @@ example
"interval":100,
"latitude":36.1363,
"longitude":-115.151,
- "mapStyleUrls":"mapbox://styles/mapbox/dark-v9",
+ "mapStyleUrls":"styles/v1/mapbox/dark-v10",
"enableOSM:false
}
diff --git a/app/file_operation.cpp b/app/file_operation.cpp
index fd71d44..8714503 100644
--- a/app/file_operation.cpp
+++ b/app/file_operation.cpp
@@ -17,7 +17,7 @@ void File_Operation::initFileOperation(){
m_start_latitude = 36.136261; // set default coordinate Westgate
m_start_longitude = -115.151254;
m_enable_osm = false;
- m_mapStyleUrls = "mapbox://styles/v1/mapbox/streets-v11"; // set default map style
+ m_mapStyleUrls = "styles/v1/mapbox/streets-v11"; // set default map style
QFile file(NAVI_CONFIG_FILEPATH);
if(!file.open(QIODevice::ReadOnly | QIODevice::Text)){