Skip To Content ArcGIS for Developers Sign In Dashboard

WmtsTileMatrixSet QML Type

A WMTS tile matrix set. More...

Import Statement: import Esri.ArcGISRuntime 100.8
Since: Esri.ArcGISRuntime 100.1



Detailed Description

A tile matrix set is a set of tile matrices and some common parameters of a layer in an Open Geospatial Consortium (OGC) Web Map Tile Service (WMTS).

A WmtsTileMatrixSet (also referred to as a "tiling scheme") may be obtained from a loaded WmtsServiceInfo.

A WmtsTileMatrixSet is composed of one or more predefined tile matrices for a series of fixed scales. As the scale descreases (see WmtsTileMatrix::scaleDenominator), the number of tiles in the matrix increases - each tile being of a smaller geographic area and of a higher resolution.

A WmtsTileMatrixSet is defined in a specific spatialReference and covers a defined extent.

Example: List the tile matrix sets for a service:

var serviceInfo = wmtsService.serviceInfo;
var lyrs = []
for (var i = 0; i < serviceInfo.layerInfos.length; i++) {
    var WmtsLyrInfo = serviceInfo.layerInfos[i];

    for (var j = 0; j < WmtsLyrInfo.tileMatrixSets.length; j++) {
        var tileMatrixSet = WmtsLyrInfo.tileMatrixSets[j];

        // create the WmtsLayer for this tile matrix set
        var lyr = ArcGISRuntimeEnvironment.createObject(
                    "WmtsLayer", {
                        url: wmtsService.url,
                        wmtsLayerId: WmtsLyrInfo.wmtsLayerId,
                        tileMatrixSetId: tileMatrixSet.tileMatrixId

        // list the tile matrixes available at each scale
        for (var k = 0; k < tileMatrixSet.tileMatrices.length; k++) {
            var matrix = tileMatrixSet.tileMatrices[k];
            console.log(matrix.tileMatrixId, matrix.scaleDenominator);

Note: You cannot declare or create a component of this type in QML code.

See also WmtsServiceInfo, WmtsTileMatrix, WmtsLayerInfo, and WmtsLayer.

Property Documentation

description : string

Returns the description of this tile matrix set (read-only).

extent : Envelope

Returns the minimum bounding rectangle surrounding this tile matrix set (read-only).

keywords : list<string>

Returns the list of zero or more commonly used or formalized words or phrases used to describe this tile matrix set (read-only).

spatialReference : SpatialReference

Returns the SpatialReference of this tile matrix set (read-only).

tileMatrices : list<WmtsTileMatrix>

Returns the list of tile matrices in this tile matrix set (read-only).

tileMatrixSetId : string

Returns the ID of this tile matrix set (read-only).

title : string

Returns the title of the WmtsTileMatrixSet (read-only).

wellKnownScaleSetId : string

Returns the ID of the well known scale set of this tile matrix set (read-only).

Feedback on this topic?