QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Stores coordinates of a tile in a tile matrix set. More...
#include <qgstiles.h>
Public Member Functions | |
QgsTileXYZ (int tc=-1, int tr=-1, int tz=-1) | |
Constructs a tile identifier from given column, row and zoom level indices. More... | |
int | column () const |
Returns tile's column index (X) More... | |
int | row () const |
Returns tile's row index (Y) More... | |
QString | toString () const |
Returns tile coordinates in a formatted string. More... | |
int | zoomLevel () const |
Returns tile's zoom level (Z) More... | |
Stores coordinates of a tile in a tile matrix set.
Tile matrix is identified by the zoomLevel(), and the position within tile matrix is given by column() and row().
Definition at line 32 of file qgstiles.h.
|
inline |
Constructs a tile identifier from given column, row and zoom level indices.
Definition at line 36 of file qgstiles.h.
|
inline |
Returns tile's column index (X)
Definition at line 42 of file qgstiles.h.
|
inline |
Returns tile's row index (Y)
Definition at line 44 of file qgstiles.h.
|
inline |
Returns tile coordinates in a formatted string.
Definition at line 49 of file qgstiles.h.
|
inline |
Returns tile's zoom level (Z)
Definition at line 46 of file qgstiles.h.