• JMap.Application.Panel.existById

    Returns true if the panel exists for a given panel id.

    Parameters

    • panelId: string

      The panel id to test

    Returns boolean

    Example

    // return true if panel id="layer" exists
    JMap.Application.Panel.existById("custom-panel")