MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLWMTSServiceTileMatrix Class Reference

Detailed Description

This class represents a layer's tile matrix in the WMTS service metadata. It is not user-creatable but instead can either be retrieved from a TSLWMTSData Layer, that has a service loaded, or is provided by most of the callbacks on the TSLWMTSServiceSettingsCallbacks abstract class.

Information about both the tile matrix (such as its scale denominator) and its associated tile matrix limits are accessible from this class.

Public Member Functions

const char * identifier () const
 
bool limits (unsigned int &minTileRow, unsigned int &maxTileRow, unsigned int &minTileCol, unsigned int &maxTileCol) const
 
unsigned int matrixHeight () const
 
unsigned int matrixWidth () const
 
double scaleDenominator () const
 
unsigned int tileHeight () const
 
unsigned int tileWidth () const
 
double topLeftX () const
 
double topLeftY () const
 

Member Function Documentation

◆ identifier()

const char * TSLWMTSServiceTileMatrix::identifier ( ) const

The identifier of the tile matrix.

◆ limits()

bool TSLWMTSServiceTileMatrix::limits ( unsigned int & minTileRow,
unsigned int & maxTileRow,
unsigned int & minTileCol,
unsigned int & maxTileCol ) const

The associated tile matrix limits of the tile matrix, for this layer.

Parameters
minTileRowSmallest allowed row index of the tile matrix.
maxTileRowLargest allowed row index of the tile matrix.
minTileColSmallest allowed column index of the tile matrix.
maxTileColLargest allowed column index of the tile matrix.

If the tile matrix limits are present in the capabilities, this method will return true and set its arguments. If the limits are not present, this method will return false.

◆ matrixHeight()

unsigned int TSLWMTSServiceTileMatrix::matrixHeight ( ) const

The number of tiles, vertically, of the tile matrix.

◆ matrixWidth()

unsigned int TSLWMTSServiceTileMatrix::matrixWidth ( ) const

The number of tiles, horizontally, of the tile matrix.

◆ scaleDenominator()

double TSLWMTSServiceTileMatrix::scaleDenominator ( ) const

The scale denominator level of the tile matrix.

◆ tileHeight()

unsigned int TSLWMTSServiceTileMatrix::tileHeight ( ) const

The height, in pixels, of each tile in the tile matrix.

◆ tileWidth()

unsigned int TSLWMTSServiceTileMatrix::tileWidth ( ) const

The width, in pixels, of each tile in the tile matrix.

◆ topLeftX()

double TSLWMTSServiceTileMatrix::topLeftX ( ) const

The x-coordinate of the top-left corner of the tile matrix (in coordinate reference system space).

◆ topLeftY()

double TSLWMTSServiceTileMatrix::topLeftY ( ) const

The y-coordinate of the top-left corner of the tile matrix (in coordinate reference system space).