M/impl/format/WMTSCapabilities~WMTSCapabilities


import WMTSCapabilities from 'M/impl/format/WMTSCapabilities';

Main constructor of the class. Creates a WMC formater

new WMTSCapabilities(options)

impl/ol/format/WMTS.js, line 21
Name Type Description
options Mx.parameters.LayerOptions

custom options for this formater

Extends

  • ol.format.XML

Methods

getFormat(layer){String}

impl/ol/format/WMTS.js, line 108
Name Type Description
layer String

the name of the layer to get its format.

Returns:
format of the layer.

getMatrixIds(layer){Array.<String>}

impl/ol/format/WMTS.js, line 89
Name Type Description
layer String

the name of the layer to get its matrixIds.

Returns:
ids of its matrix

getMatrixSet(layer){String}

impl/ol/format/WMTS.js, line 62
Name Type Description
layer String

the name of the layer to get its matrixSet.

Returns:
matrixSet name

getOptionsFromCapabilities(layer){String}

impl/ol/format/WMTS.js, line 124
Name Type Description
layer String

the name of the layer to get its format.

Returns:
format of the layer.

read(data){Object}

impl/ol/format/WMTS.js, line 50
Name Type Description
data Document

Document.

Returns:
this