16#ifndef QGSVECTORTILELOADER_H
17#define QGSVECTORTILELOADER_H
42 : id( tileID ), tileGeometryId( tileID ), data( raw ) {}
74 static QList<QgsVectorTileRawData> blockingFetchTileRawData(
77 const QPointF &viewCenter,
93 void downloadBlocking();
96 QString error()
const;
102 void tileReplyFinished();
111 std::unique_ptr<QEventLoop> mEventLoop;
116 QList<QgsTileDownloadManagerReply *> mReplies;
RendererUsage
Usage of the renderer.
@ Unknown
Renderer used for unknown usage.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Reply object for tile download manager requests returned from calls to QgsTileDownloadManager::get().
Defines a set of tile matrices for multiple zoom levels.
Range of tiles in a tile matrix to be rendered.
Stores coordinates of a tile in a tile matrix set.
Base class for vector tile layer data providers.
The loader class takes care of loading raw vector tile data from a tile source.
void tileRequestFinished(const QgsVectorTileRawData &rawTile)
Emitted when a tile request has finished. If a tile request has failed, the returned raw tile byte ar...
Keeps track of raw tile data that need to be decoded.
QgsVectorTileRawData(QgsTileXYZ tileID=QgsTileXYZ(), const QByteArray &raw=QByteArray())
Constructs a raw tile object.
QByteArray data
Raw tile data.
QgsTileXYZ id
Tile position in tile matrix set.
QgsTileXYZ tileGeometryId
Tile id associated with the raw tile data.