Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add note regarding #52872
  • Loading branch information
nyalldawson committed May 16, 2023
1 parent 7d7c580 commit 55993e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/vectortile/qgsvtpkvectortiledataprovider.cpp
Expand Up @@ -230,6 +230,10 @@ QByteArray QgsVtpkVectorTileDataProvider::loadFromVtpk( QgsVtpkTiles &vtpkTileRe
const QByteArray tileData = vtpkTileReader.tileData( id.zoomLevel(), id.column(), id.row() );
if ( tileData.isEmpty() )
{
// TODO -- I think here ESRI software will detect a zero size tile and automatically fallback to lower zoom level tiles
// I.e. they treat EVERY vtpk a bit like an indexed VTPK, but without the up-front tilemap information.
// See https://github.com/qgis/QGIS/issues/52872

return QByteArray();
}
return tileData;
Expand Down

0 comments on commit 55993e7

Please sign in to comment.