summaryrefslogtreecommitdiffstats
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 21:26:25 +0000
commitb6dd54f2d5566091b73d99e971da8ef5602102e6 (patch)
tree657b55846cc8e5418ee6684adcacfda4bcfca83b
parent1483c8e41f0ac86200038404c2f50d027af54512 (diff)
Update MapBox style URLskoi_11.0.1koi/11.0.111.0.1
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)){