M/impl/layer/WFS~WFS


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

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

new WFS(options, vendorOptions)

impl/ol/layer/WFS.js, line 34
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/WFS.js, line 86

This function sets the map object of the layer

Name Type Description
map M.Map

equals()

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

This function checks if an object is equals to this layer

getDefaultValue()

impl/ol/layer/WFS.js, line 240

TODO

getDescribeFeatureType()

impl/ol/layer/WFS.js, line 216

TODO

isLoaded()

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

TODO

recreateOlLayer()

impl/ol/layer/WFS.js, line 114

Removes and creates the ol3layer

refresh(forceNewSource)

impl/ol/layer/WFS.js, line 99

This function sets the map object of the layer

Name Type Description
forceNewSource Boolean

setCQL()

impl/ol/layer/WFS.js, line 204

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

setGeometry()

impl/ol/layer/WFS.js, line 303

Sets the geometry of the layer

setName()

impl/ol/layer/WFS.js, line 279

Sets the name of the layer

setNamespace()

impl/ol/layer/WFS.js, line 291

Sets the namespace of the layer

setURL()

impl/ol/layer/WFS.js, line 267

Sets the url of the layer