Class: QgsTileXYZ¶
- class qgis.core.QgsTileXYZ(tc: int = - 1, tr: int = - 1, tz: int = - 1)¶
Bases:
sip.wrapper
Constructs a tile identifier from given column, row and zoom level indices
QgsTileXYZ(
QgsTileXYZ
)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 bycolumn()
androw()
.New in version 3.14:
Methods
Returns tile's column index (X)
Returns tile's row index (Y)
Returns tile coordinates in a formatted string
Returns tile's zoom level (Z)
- column(self) int ¶
Returns tile’s column index (X)
- Return type
int
- row(self) int ¶
Returns tile’s row index (Y)
- Return type
int
- toString(self) str ¶
Returns tile coordinates in a formatted string
- Return type
str
- zoomLevel(self) int ¶
Returns tile’s zoom level (Z)
- Return type
int