• JMap.Application.Event.MapContext.remove

    Removes the listener.

    If the listener doesn't exist, does nothing.

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

    Parameters

    • listenerId: string

      The listener id

    Returns void

    Example

    // remove the listener "my-mapcontext-listener"
    JMap.Application.Event.MapContext.remove("my-mapcontext-listener")