M/impl/Layer~LayerBase


import LayerBase from 'M/impl/Layer';

new LayerBase(options, vendorOptions)

impl/ol/layer/Layer.js, line 13
Name Type Description
options Object

options provided by the user

vendorOptions Object

vendor options for the base library

Extends

  • M.Object

Methods

getLegendURL()

impl/ol/layer/Layer.js, line 369

This function gets the created OL layer

getMap()

impl/ol/layer/Layer.js, line 358

This function gets the created OL layer

getMaxScale()

impl/ol/layer/Layer.js, line 245

This function gets the max-scale for this layer

getMinScale()

impl/ol/layer/Layer.js, line 215

This function gets the min-scale for this layer

getNumZoomLevels()

impl/ol/layer/Layer.js, line 392

This function gets the max resolution for this WMS

getOL3Layer()

impl/ol/layer/Layer.js, line 305

This function gets the created OL layer

Deprecated
  • Yes

getOLLayer()

impl/ol/layer/Layer.js, line 316

This function gets the created OL layer

getOpacity()

impl/ol/layer/Layer.js, line 276

This function sets the visibility of this layer

getZIndex()

impl/ol/layer/Layer.js, line 188

This function sets the visibility of this layer

inRange()

impl/ol/layer/Layer.js, line 154

This function indicates if the layer is in range

isQueryable()

impl/ol/layer/Layer.js, line 143

This function indicates if the layer is queryable

isVisible()

impl/ol/layer/Layer.js, line 125

This function indicates if the layer is visible

selectFeatures()

impl/ol/layer/Layer.js, line 413

This function exectues a select feature

setLegendURL()

impl/ol/layer/Layer.js, line 380

This function gets the created OL layer

setMaxScale()

impl/ol/layer/Layer.js, line 259

This function sets the max-scale for this layer

setMinScale()

impl/ol/layer/Layer.js, line 229

This function sets the min-scale for this layer

setOL3Layer()

impl/ol/layer/Layer.js, line 328

This function sets the OL layer

Deprecated
  • Yes

setOLLayer()

impl/ol/layer/Layer.js, line 343

This function sets the OL layer

setOpacity()

impl/ol/layer/Layer.js, line 290

This function sets the visibility of this layer

setVisible()

impl/ol/layer/Layer.js, line 173

This function sets the visibility of this layer

setZIndex()

impl/ol/layer/Layer.js, line 202

This function sets the visibility of this layer

unselectFeatures()

impl/ol/layer/Layer.js, line 404

This function exectues an unselect feature