summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtlocation/0001-mapbox-update-API-url-to-match-new-schema.patch
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2020-03-12 01:30:19 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-03-18 22:13:04 +0000
commite55ff95cece475aefbb858d214d8c349d8017951 (patch)
tree3221d7fe949e5a45524541695bffa595a94ed610 /meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtlocation/0001-mapbox-update-API-url-to-match-new-schema.patch
parentf50ccfb034ab04c1d2c303d3abe8af6b4092f5e1 (diff)
qtlocation: revert Mapbox API calls to 256x256 tiles
Newer API uses 512x512 blocks by default, but we need to use 256x256 to avoid tiny font as QtLocation expected the latter sized tiles. Bug-AGL: SPEC-3264 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Change-Id: I12e926fea5c527f7be2f33beb68d67b68a3b7873
Diffstat (limited to 'meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtlocation/0001-mapbox-update-API-url-to-match-new-schema.patch')
-rw-r--r--meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtlocation/0001-mapbox-update-API-url-to-match-new-schema.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtlocation/0001-mapbox-update-API-url-to-match-new-schema.patch b/meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtlocation/0001-mapbox-update-API-url-to-match-new-schema.patch
index 350daaee6..ba8a991ed 100644
--- a/meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtlocation/0001-mapbox-update-API-url-to-match-new-schema.patch
+++ b/meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtlocation/0001-mapbox-update-API-url-to-match-new-schema.patch
@@ -18,7 +18,7 @@ index 0b128556..bd2be6b6 100644
request.setUrl(QUrl(mapboxTilesApiPath +
- ((spec.mapId() >= m_mapIds.size()) ? QStringLiteral("mapbox.streets") : m_mapIds[spec.mapId() - 1]) + QLatin1Char('/') +
+ m_mapIds[m_mapIds.size() - 1] +
-+ QStringLiteral("/tiles/") +
++ QStringLiteral("/tiles/256/") +
QString::number(spec.zoom()) + QLatin1Char('/') +
QString::number(spec.x()) + QLatin1Char('/') +
QString::number(spec.y()) +