• JMap.Application.Event.Main.remove

    Removes the listener.

    If the listener doesn't exist, does nothing.

    Removes the listener from JMap Cloud NG. The listener is deleted and never called again after that.

    Parameters

    • listenerId: string

      The listener id

    Returns void

    Example

    // remove the listener "my-main-listener"
    JMap.Application.Event.Main.remove("my-main-listener")