GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Attaches the toggle handler to a layer.

      Parameters

      • toggleBtn: ToggleBtn

        Le button HTML

      • itemId: string

        The layer identifier

      • checkVisibility: (id: string) => boolean

        Injected visibility-check callback (avoids a circular dependency)

      Returns void