Constructor
new WFSLayer(config, cache, id)
Set all properties for the layer based on the options object.
Parameters:
Name | Type | Description |
---|---|---|
config |
object | |
cache |
object | |
id |
string |
- Source:
Methods
applyFilter()
Apply a filter on the layer. Uses WMS filter string
- Source:
createUrl_()
Creates URL for getting wfs layer
- Source:
getBounds() → {object}
Get the bounding box as an object
- Source:
Returns:
{ min: {x, y}, max: {x, y}, crs: "CRS:84" }
- Type
- object
getFeatureInfo() → {Promise}
Get Info of the last clicked features
- Source:
Returns:
feature info
- Type
- Promise
setOpacity(opacity)
Set the transparency between 0 and 1
Parameters:
Name | Type | Description |
---|---|---|
opacity |
number |
- Source: