Classes
Members
customTileGrid :null|TileGrid
TileGrid configuration when layers is loaded as TileWMS
Type:
- null | TileGrid
- Source:
hidpi :boolean
WMS/TileWMS high dpi support
Type:
- boolean
- Source:
isDragZoomActive :boolean
Is dragZoom active?
Type:
- boolean
- Source:
statesSingleWMSLayers :Map
Key (name) / value (state) Map of layers loaded in a single WMS image
Type:
- Source:
useTileWms :boolean
Map and base Layers are loaded as TileWMS
Type:
- boolean
- Source:
Methods
activateDragZoom()
Activate DragZoom interaction
- Source:
addHighlightFeatures(features, format, projection)
Add highlight features on top of all layer
Parameters:
Name | Type | Description |
---|---|---|
features |
string | features as GeoJSON or WKT |
format |
string | format string as `geojson` or `wkt` |
projection |
string | undefined | optional features projection |
- Source:
addToolLayer(layer)
Adds the given layer to the top of the tools group layers.
Parameters:
Name | Type | Description |
---|---|---|
layer |
LayerBase | Layer. |
- Source:
clearHighlightFeatures()
Clear all highlight features
- Source:
deactivateDragZoom()
Deactivate DragZoom interaction
- Source:
getLayerByName(name) → {ImageLayer|undefined}
Return overlay layer if `name` matches.
`name` is unique for every layers
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The layer name. |
- Source:
Returns:
The OpenLayers layer or undefined
- Type
- ImageLayer | undefined
getLayerOrGroupByName(name) → {ImageLayer|LayerGroup|undefined}
Return overlay layer or group if `name` matches.
`name` is unique for every layers/groups
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The layer or group name. |
- Source:
Returns:
The OpenLayers layer or OpenLayers group or undefined
- Type
- ImageLayer | LayerGroup | undefined
isSingleWMSLayer(name) → {MapLayerState|undefined}
Return MapLayerState instance of WMS layer or group if the layer is loaded in the single WMS image, undefined if not.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | the WMS layer or group name |
- Source:
Returns:
the MapLayerState instance of WMS layer or group if the layer is loaded in the single WMS image or undefined.
- Type
- MapLayerState | undefined
removeToolLayer(layer)
Removes the given layer from the tools group layers.
Parameters:
Name | Type | Description |
---|---|---|
layer |
LayerBase | Layer. |
- Source:
setHighlightFeatures(features, format, projection)
Set highlight features on top of all layer
Parameters:
Name | Type | Description |
---|---|---|
features |
string | features as GeoJSON or WKT |
format |
string | format string as `geojson` or `wkt` |
projection |
string | undefined | optional features projection |
- Source: