geoview-core - v2.2.0
    Preparing search index...

    Function setStoreLegendQueryStatus

    • Sets the legend query status and optional legend data for a specific layer.

      Updates the layer's icon images and legend items when legend data with a type is provided.

      Parameters

      • mapId: string

        The map identifier

      • layerPath: string

        The layer path to update

      • legendQueryStatus: LegendQueryStatus

        The new legend query status

      • legendSchemaTag: TypeGeoviewLayerType | undefined
      • icons: TypeLegendLayerItem[] | undefined
      • items: TypeLegendItem[] | undefined
      • styleConfig:
            | Partial<
                Record<
                    | "Point"
                    | "MultiPoint"
                    | "LineString"
                    | "MultiLineString"
                    | "Polygon"
                    | "MultiPolygon"
                    | "GeometryCollection",
                    TypeLayerStyleSettings,
                >,
            >
            | undefined

      Returns void