GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Combines a sub-layer's geometry guard with a caller-supplied filter.

      ⚠️ A builder that composes a guard with a filter of its own goes through this — the icon sub-layer, the cluster patch (maplibre-layer-builders.ts); the cluster bubbles need no guard and set their filter as it is. A filter set LATER does not come here: MaplibreAdapter.setLayerFilter composes the caller's with the filter the sub-layer was built with, read back from the engine, so the guard comes along with the rest of it.

      Parameters

      • type: SubLayerType

        The sub-layer family.

      • filter: unknown

        The caller's filter, or null / undefined for none.

      Returns FilterSpecification | null | undefined

      The composed filter, one of the two alone, or null when neither exists.