Methods for interacting with LayerSwitcher.

Hierarchy

  • SdkModule
    • LayerSwitcher

Methods

  • Add a new checkbox to the SDK Layer checkboxes list

    Parameters

    • __namedParameters: { isChecked?: boolean; name: string }

    Returns void

    InvalidStateError if the checkbox with the specified name already exists for this script

  • Get checked state of the SDK Layers checkbox

    Parameters

    • args: { name: string }

    Returns boolean

    value of the checkbox

    InvalidStateError if a checkbox with the specified name does not exist for this script

  • Remove the checkbox from the SDK Layers checkboxes

    Parameters

    • args: { name: string }

    Returns void

    InvalidStateError if a checkbox with the specified name does not exist for this script

  • Set checked state for the SDK Layers checkbox

    Parameters

    • args: { isChecked: boolean; name: string }

    Returns void

    InvalidStateError if a checkbox with the specified name does not exist for this script