QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
Keeps track of raw tile data from one or more sources that need to be decoded. More...
#include <qgsvectortileloader.h>
Public Member Functions | |
QgsVectorTileRawData (QgsTileXYZ tileID, const QMap< QString, QByteArray > &data) | |
Constructs a raw tile object for one or more sources. | |
QgsVectorTileRawData (QgsTileXYZ tileID=QgsTileXYZ(), const QByteArray &data=QByteArray()) | |
Constructs a raw tile object for single source. | |
Public Attributes | |
QMap< QString, QByteArray > | data |
Raw tile data by source ID. | |
QgsTileXYZ | id |
Tile position in tile matrix set. | |
QgsTileXYZ | tileGeometryId |
Tile id associated with the raw tile data. | |
Keeps track of raw tile data from one or more sources that need to be decoded.
Definition at line 38 of file qgsvectortileloader.h.
|
inline |
Constructs a raw tile object for single source.
Definition at line 42 of file qgsvectortileloader.h.
|
inline |
Constructs a raw tile object for one or more sources.
Definition at line 46 of file qgsvectortileloader.h.
QMap<QString, QByteArray> QgsVectorTileRawData::data |
Raw tile data by source ID.
Definition at line 63 of file qgsvectortileloader.h.
QgsTileXYZ QgsVectorTileRawData::id |
Tile position in tile matrix set.
Definition at line 50 of file qgsvectortileloader.h.
QgsTileXYZ QgsVectorTileRawData::tileGeometryId |
Tile id associated with the raw tile data.
This may differ from the tile id in the situation where lower zoom level tiles have been used to replace missing higher zoom level tiles. In this case, the tileGeometryId should be used when decoding tiles to features in order to obtain correct geometry scaling and placement, while the actual tile id should be used when determining the region of the tile for clipping purposes.
Definition at line 60 of file qgsvectortileloader.h.