QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
int | column () const |
Returns tile's column index (X) | |
bool | operator!= (const QgsTileXYZ &other) const |
bool | operator== (const QgsTileXYZ &other) const |
int | row () const |
Returns tile's row index (Y) | |
QString | toString () const |
Returns tile coordinates in a formatted string. | |
int | zoomLevel () const |
Returns tile's zoom level (Z) | |
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 39 of file qgstiles.h.
|
inline |
Constructs a tile identifier from given column, row and zoom level indices.
Definition at line 43 of file qgstiles.h.
|
inline |
Returns tile's column index (X)
Definition at line 49 of file qgstiles.h.
|
inline |
Definition at line 59 of file qgstiles.h.
|
inline |
Definition at line 58 of file qgstiles.h.
|
inline |
Returns tile's row index (Y)
Definition at line 51 of file qgstiles.h.
|
inline |
Returns tile coordinates in a formatted string.
Definition at line 56 of file qgstiles.h.
|
inline |
Returns tile's zoom level (Z)
Definition at line 53 of file qgstiles.h.