• JMap.Application.Event.Layer.remove

    Removes the listener.

    If the listener doesn't exist, does nothing.

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

    Parameters

    • listenerId: string

      The listener id

    Returns void

    Example

    // remove the listener "my-layer-listener"
    JMap.Application.Event.Layer.remove("my-layer-listener")