@geoblocks/ol-comfy
    Preparing search index...

    Function updateLayerStyle

    • Set the style of a layer (only) once.

      Parameters

      • layer: VectorLayer<VectorSource<Feature<Geometry, { [x: string]: any }>>>
      • styleFn: (
            feature: Feature<Geometry, { [x: string]: any }> | RenderFeature,
        ) => Style | Style[]

      Returns void