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

    Minimal structural view of the MapLibre native map used by the renderer's symbol-layer path. Only the methods labels calls are typed.

    interface LabelsNativeMap {
        getStyle?: () => MapStyleLike | undefined;
        getSource: (id: string) => unknown;
        getLayer: (id: string) => unknown;
        addLayer: (layer: Record<string, unknown>) => void;
        removeLayer: (id: string) => void;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    getStyle?: () => MapStyleLike | undefined
    getSource: (id: string) => unknown
    getLayer: (id: string) => unknown
    addLayer: (layer: Record<string, unknown>) => void
    removeLayer: (id: string) => void