M/impl/layer/WMTS~WMTS


import WMTS from 'M/impl/layer/WMTS';

Main constructor of the class. Creates a WMTS layer with parameters specified by the user

new WMTS(options, vendorOptions)

impl/ol/layer/WMTS.js, line 39
Name Type Description
options Mx.parameters.LayerOptions

custom options for this layer

vendorOptions Object

vendor options for the base library

Methods

addTo(map)

impl/ol/layer/WMTS.js, line 92

This function sets the map object of the layer

Name Type Description
map M.impl.Map

destroy()

impl/ol/layer/WMTS.js, line 410

This function destroys this layer, cleaning the HTML and unregistering all events

equals()

impl/ol/layer/WMTS.js, line 426

This function checks if an object is equals to this layer

getCapabilities()

impl/ol/layer/WMTS.js, line 330

TODO

getGetFeatureInfoUrl()

impl/ol/layer/WMTS.js, line 472

getMaxResolution()

impl/ol/layer/WMTS.js, line 365

This function gets the max resolution for this WMTS

getMinResolution()

impl/ol/layer/WMTS.js, line 353

This function gets the min resolution for this WMTS

getOptionsGetFeatureInfoUrl()

impl/ol/layer/WMTS.js, line 463

getTileColTileRow()

impl/ol/layer/WMTS.js, line 511

recreateOlLayer()

impl/ol/layer/WMTS.js, line 388

Removes and creates the ol3layer

setFacadeObj(obj)

impl/ol/layer/WMTS.js, line 376

This function set facade class WMTS

Name Type Description
obj object

Facade layer

setName()

impl/ol/layer/WMTS.js, line 318

Sets the name of the layer

setOptionsGetFeatureInfoUrl()

impl/ol/layer/WMTS.js, line 443

setResolutions(resolutions)

impl/ol/layer/WMTS.js, line 122

This function sets the resolutions for this layer

Name Type Description
resolutions Array.<Number>

setTileLoadFunction()

impl/ol/layer/WMTS.js, line 295

This function sets the tileLoadFunction

setURL()

impl/ol/layer/WMTS.js, line 306

Sets the url of the layer

setVisible()

impl/ol/layer/WMTS.js, line 167

This function sets the visibility of this layer