• JMap.Event.Map.deactivate

    Deactivate the listener.

    If the listener id doesn't exists or if the listener is already inactive, do nothing.

    If the listener is active, it will be deactivated and will be ignored ...

    Parameters

    • listenerId: string

      The listener id

    Returns void

    Example

    // deactivate the listener "my-map-listener"
    JMap.Event.Map.deactivate("my-map-listener")