• JMap.Application.Panel.removeById

    Removes a panel for a given panel id from JMap Cloud NG.

    If the panel was active, will activate the first panel the application finds.

    Parameters

    • panelId: string

      The application panel id to remove

    Returns void

    Throws

    if panel is not found or if this is the last panel

    Example

    // will remove the "custom-panel" panel
    JMap.Application.Panel.removeById("custom-panel")