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

    Type Alias TypeLegend

    Represents the legend data for a layer.

    type TypeLegend = {
        legend: TypeVectorLayerStyles | HTMLCanvasElement | null;
        styleConfig?: TypeLayerStyleConfig;
        type: TypeGeoviewLayerType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    legend: TypeVectorLayerStyles | HTMLCanvasElement | null

    The legend content — vector styles, an HTML canvas, or null.

    styleConfig?: TypeLayerStyleConfig

    Optional style configuration associated with the legend.

    type: TypeGeoviewLayerType

    The GeoView layer type this legend belongs to.