QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsTileXYZ Class Reference

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)
 

Detailed Description

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().

Since
QGIS 3.14

Definition at line 39 of file qgstiles.h.

Constructor & Destructor Documentation

◆ QgsTileXYZ()

QgsTileXYZ::QgsTileXYZ ( int  tc = -1,
int  tr = -1,
int  tz = -1 
)
inline

Constructs a tile identifier from given column, row and zoom level indices.

Definition at line 43 of file qgstiles.h.

Member Function Documentation

◆ column()

int QgsTileXYZ::column ( ) const
inline

Returns tile's column index (X)

Definition at line 49 of file qgstiles.h.

◆ operator!=()

bool QgsTileXYZ::operator!= ( const QgsTileXYZ other) const
inline

Definition at line 59 of file qgstiles.h.

◆ operator==()

bool QgsTileXYZ::operator== ( const QgsTileXYZ other) const
inline

Definition at line 58 of file qgstiles.h.

◆ row()

int QgsTileXYZ::row ( ) const
inline

Returns tile's row index (Y)

Definition at line 51 of file qgstiles.h.

◆ toString()

QString QgsTileXYZ::toString ( ) const
inline

Returns tile coordinates in a formatted string.

Definition at line 56 of file qgstiles.h.

◆ zoomLevel()

int QgsTileXYZ::zoomLevel ( ) const
inline

Returns tile's zoom level (Z)

Definition at line 53 of file qgstiles.h.


The documentation for this class was generated from the following file: