summaryrefslogtreecommitdiffstats
path: root/app/file_operation.cpp
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-08 21:29:52 +0000
commitafacee8e8e119ea6bbf006afacf2d8ed7d2595ba (patch)
treef73351f83ad3b4f5ea065432fe6cea752b6628de /app/file_operation.cpp
parent404c3398e7759c105e1a26a1def506c0d8ec76da (diff)
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/file_operation.cpp')
-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)){