• JMap.Event.Form.on.layerDialogClosed

    This event is triggered each time a layer form dialog is closed (attribute and external forms).

    Parameters

    • listenerId: string

      Your listener id (must be unique)

    • fn: (() => void)

      Your listener function

        • (): void
        • Returns void

    Returns void

    Example

    // log a message in the console once a form layer dialog has been closed
    JMap.Event.Form.on.layerDialogClosed(
    "custom-form-layer-dialog-closed",
    params => console.info(`Layer form dialog closed for layer id="${params.layerId}"`)
    )