aboutsummaryrefslogtreecommitdiffstats
path: root/app
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 /app
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
Diffstat (limited to 'app')
-rw-r--r--app/file_operation.cpp2
1 files changed, 1 insertions, 1 deletions
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)){