WFSLayer

WFSLayer

Web Feature Service Layer

Constructor

new WFSLayer(config)

Source:
Parameters:
Name Type Description
config Object

Configuration object

Properties
Name Type Attributes Default Description
title String <optional>
'OverlayLayer'

Layer title

visible Boolean <optional>
false

Layer initial status

server String

URL of map server

layerName String

Name of layer to display

attribution String <optional>
''

Layer data attribution

exclusive Boolean <optional>
false

If true, when the layer is shown, all other overlay layers are hidden

style Object

Style configuration

Properties
Name Type Description
property String

Property that defines the style to use

values Object

Object with possible values and their corresponding style

popup Array.<Object> <optional>

Data to show when user clicks on a feature in the map

Properties
Name Type Attributes Description
property String

Name of the field to show

title String <optional>

Text to show as field title

Extends

Methods

refresh()

Source:

Reloads layer data using current filters