WebGLLayerOptions interface
Options used to render graphics in a WebGLLayer.
- Extends
Properties
renderer | An object that contains the rendering logic. |
Inherited Properties
filter | An expression specifying conditions on source features. Only features that match the filter are displayed. |
max |
An integer specifying the maximum zoom level to render the layer at.
This value is exclusive, i.e. the layer will be visible at |
min |
An integer specifying the minimum zoom level to render the layer at.
This value is inclusive, i.e. the layer will be visible at |
visible | Specifies if the layer is visible or not.
Default |
Property Details
renderer
Inherited Property Details
filter
An expression specifying conditions on source features. Only features that match the filter are displayed.
filter?: Expression
Property Value
Inherited From LayerOptions.filter
maxZoom
An integer specifying the maximum zoom level to render the layer at.
This value is exclusive, i.e. the layer will be visible at maxZoom > zoom >= minZoom
.
Default 24
.
maxZoom?: number
Property Value
number
Inherited From LayerOptions.maxZoom
minZoom
An integer specifying the minimum zoom level to render the layer at.
This value is inclusive, i.e. the layer will be visible at maxZoom > zoom >= minZoom
.
Default 0
.
minZoom?: number
Property Value
number
Inherited From LayerOptions.minZoom
visible
Specifies if the layer is visible or not.
Default true
.
visible?: boolean
Property Value
boolean
Inherited From LayerOptions.visible