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

    Interface LegendQueriedEvent

    Event payload emitted when a layer legend has been queried successfully.

    interface LegendQueriedEvent {
        icons?: TypeLegendLayerItem[];
        items?: TypeLegendItem[];
        layerPath: string;
        legendSchemaTag?: TypeGeoviewLayerType;
        styleConfig?: Partial<
            Record<
                | "Point"
                | "MultiPoint"
                | "LineString"
                | "MultiLineString"
                | "Polygon"
                | "MultiPolygon"
                | "GeometryCollection",
                TypeLayerStyleSettings,
            >,
        >;
    }
    Index
    icons?: TypeLegendLayerItem[]

    Optional icons associated with the legend

    items?: TypeLegendItem[]

    Optional items associated with the legend

    layerPath: string

    The layer path for which the legend was queried.

    legendSchemaTag?: TypeGeoviewLayerType

    Optional legend schema tag.

    styleConfig?: Partial<
        Record<
            | "Point"
            | "MultiPoint"
            | "LineString"
            | "MultiLineString"
            | "Polygon"
            | "MultiPolygon"
            | "GeometryCollection",
            TypeLayerStyleSettings,
        >,
    >

    Optional style configuration associated with the legend.