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
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()) +