GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Checks whether a layer is visible. Reads logicalState (the button's ON/OFF state) rather than current (physical state on the map). The button must reflect the user/theme intent, not zoom constraints.

      Parameters

      • layerId: string

      Returns boolean