Constructor
new OpusLayer(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
- 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
printMetadata()
Print the Metadata from this layer as html.
- Source:
setOpacity(opacity)
Set the transparency between 0 and 1
Parameters:
Name | Type | Description |
---|---|---|
opacity |
number |
- Source: