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

    The MapLibre source and layer ids that createClusteredSource created.

    A clustered POI source is five MapLibre objects, not one — clusters, their count labels, unclustered circles and the icon symbol layer above them. allLayerIds is what a teardown must iterate: removing the source alone leaves the layers orphaned.

    interface ClusterLayerIds {
        sourceId: string;
        clustersLayerId: string;
        clusterCountLayerId: string;
        unclusteredLayerId: string;
        unclusteredIconsLayerId: string;
        allLayerIds: string[];
    }
    Index

    Properties

    sourceId: string
    clustersLayerId: string
    clusterCountLayerId: string
    unclusteredLayerId: string
    unclusteredIconsLayerId: string

    Symbol layer for GPU-rendered icons stacked above the circle layer.

    allLayerIds: string[]