@geoblocks/ol-comfy
Preparing search index...
layer/utils
updateLayerStyle
Function updateLayerStyle
updateLayerStyle
(
layer
:
VectorLayer
<
VectorSource
<
Feature
<
Geometry
>
>
>
,
styleFn
:
(
feature
:
Feature
<
Geometry
>
|
RenderFeature
)
=>
Style
|
Style
[]
,
)
:
void
Set the style of a layer (only) once.
Parameters
layer
:
VectorLayer
<
VectorSource
<
Feature
<
Geometry
>
>
>
styleFn
:
(
feature
:
Feature
<
Geometry
>
|
RenderFeature
)
=>
Style
|
Style
[]
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@geoblocks/ol-comfy
Loading...
Set the style of a layer (only) once.