Extends
Classes
Methods
# getAttributions() → {string}
Gets the attributions of the layer.
- Overrides:
Attributions of the layer.
string
# getMaxZoom() → {number}
Gets the maximum zoom level of the layer.
- Overrides:
The maximum zoom level of the layer.
number
# getMinZoom() → {number}
Gets the minimum zoom level of the layer.
- Overrides:
The minimum zoom level of the layer.
number
# getOpacity() → {number}
Gets the opacity of the layer (between 0 and 1).
- Overrides:
The opacity of the layer.
number
# getVisible() → {boolean}
Gets the visibility of the layer (true
or false
).
- Overrides:
The visibility of the layer.
boolean
# setMaxZoom(maxZoom)
Sets the maximum zoom (exclusive) at which the layer is visible. Note that the zoom levels for layer visibility are based on the view zoom level, which may be different from a tile source zoom level.
Parameters:
Name | Type | Description |
---|---|---|
maxZoom |
number
|
The maximum zoom of the layer. |
- Overrides:
# setMinZoom(minZoom)
Sets the minimum zoom (inclusive) at which the layer is visible. Note that the zoom levels for layer visibility are based on the view zoom level, which may be different from a tile source zoom level.
Parameters:
Name | Type | Description |
---|---|---|
minZoom |
number
|
The minimum zoom of the layer. |
- Overrides:
# setOpacity(opacity)
Sets the opacity of the layer, allowed values range from 0 to 1.
Parameters:
Name | Type | Description |
---|---|---|
opacity |
number
|
The opacity of the layer. |
- Overrides:
# setVisible(visible)
Sets the visibility of the layer (true
or false
).
Parameters:
Name | Type | Description |
---|---|---|
visible |
boolean
|
The visibility of the layer. |
- Overrides:
Type Definitions
Object
# Metadata
AOI Metadata
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Min GSD |
string
|
<optional> |
min gsd for this aoi |
Max GSD |
string
|
<optional> |
max gsd for this aoi |
Min Capture date |
string
|
<optional> |
min date for this aoi |
Max Capture date |
string
|
<optional> |
max date for this aoi |
AOI |
string
|
<optional> |
aoi name |
AOI Max Zoom |
string
|
<optional> |
aoi max zoom |
layer |
string
|
<optional> |
layer name |
Object
# Metadata
AOI Metadata
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Min GSD |
string
|
<optional> |
min gsd for this aoi |
Max GSD |
string
|
<optional> |
max gsd for this aoi |
Min Capture date |
string
|
<optional> |
min date for this aoi |
Max Capture date |
string
|
<optional> |
max date for this aoi |
AOI |
string
|
<optional> |
aoi name |
AOI Max Zoom |
string
|
<optional> |
aoi max zoom |
layer |
string
|
<optional> |
layer name |