M/layer/WMC~WMC


import WMC from 'M/layer/WMC';

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

new WMC(userParameters, options)

facade/js/layer/WMC.js, line 29
Name Type Description
userParameters string | Mx.parameters.WMC

parameters provided by the user

options Mx.parameters.LayerOptions

custom options for this layer

Extends

  • M.Layer

Methods

calculateMaxExtent()

facade/js/layer/WMC.js, line 157

This function indicates the layer max extent Async version of getMaxExtent

equals()

facade/js/layer/WMC.js, line 211

This function checks if an object is equals to this layer

getMaxExtent()

facade/js/layer/WMC.js, line 146

This function indicates the layer max extent

isLoaded()

facade/js/layer/WMC.js, line 228

This function returns if the layer is loaded

select()

facade/js/layer/WMC.js, line 179

This function select this WMC layer and triggers the event to draw it

setLoaded()

facade/js/layer/WMC.js, line 238

This function returns if the layer is loaded

unselect()

facade/js/layer/WMC.js, line 195

This function unselect this WMC layer and removes all its layers