diff options
author | Scott Murray <scott.murray@konsulko.com> | 2021-03-04 16:05:08 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2021-03-08 21:29:52 +0000 |
commit | afacee8e8e119ea6bbf006afacf2d8ed7d2595ba (patch) | |
tree | f73351f83ad3b4f5ea065432fe6cea752b6628de | |
parent | 404c3398e7759c105e1a26a1def506c0d8ec76da (diff) |
Update MapBox style URLsjellyfish_10.0.3jellyfish/10.0.310.0.3jellyfish
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.md | 2 | ||||
-rw-r--r-- | app/file_operation.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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)){ |