GeoLeaf Core API - v3.0.0
    Preparing search index...

    Layer definition consumed by the vector-tiles module. Superset of the config-time options, including the internal profile metadata fields.

    interface VtLayerDef {
        id?: string;
        geometry?: string;
        geometryType?: string;
        zIndex?: number;
        vectorTiles?: VtConfig;
        data?: { vectorTiles?: VtConfig; [key: string]: unknown };
        styles?: { default?: string; directory?: string; [key: string]: unknown };
        popup?: { enabled?: boolean; fields?: unknown[]; [key: string]: unknown };
        tooltip?: {
            enabled?: boolean;
            fields?: VtTooltipField[];
            [key: string]: unknown;
        };
        legends?: unknown;
        _profileId?: string;
        _layerDirectory?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    id?: string
    geometry?: string
    geometryType?: string
    zIndex?: number
    vectorTiles?: VtConfig
    data?: { vectorTiles?: VtConfig; [key: string]: unknown }
    styles?: { default?: string; directory?: string; [key: string]: unknown }
    popup?: { enabled?: boolean; fields?: unknown[]; [key: string]: unknown }
    tooltip?: {
        enabled?: boolean;
        fields?: VtTooltipField[];
        [key: string]: unknown;
    }
    legends?: unknown
    _profileId?: string
    _layerDirectory?: string