eurostat-map
    Preparing search index...

    Interface LayerConfig

    interface LayerConfig {
        id?: string;
        type: MapType;
        role?: LayerRole;
        encoding?: Record<string, EncodingConfig>;
        legend?: LegendConfig;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Type-specific settings are also accepted.

    Index

    Properties

    id?: string

    Stable id; auto-generated if omitted.

    type: MapType

    Layer type (same identifiers as map types).

    role?: LayerRole

    Explicit role; defaults from the type.

    encoding?: Record<string, EncodingConfig>

    Keyed visual encodings: fill, size, color, stroke, …

    legend?: LegendConfig

    Per-layer legend config.