• JMap.Event.Main.activate

    Activate the listener.

    If the listener is already active, do nothing.

    If the listener is inactive, it will be reactivated and will be called again ...

    Parameters

    • listenerId: string

      The listener id

    Returns void

    Example

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