• JMap.Map.Interaction.terminateInteractorById

    Terminate the map interactor.

    After being terminated, the interactor doesn't exist anymore in JMap Cloud NG Core library.

    You cannot activate it anymore.

    Parameters

    • interactorId: string

      The interactor id to terminate

    Returns void

    Throws

    Error if interactor is not found

    Example

    // terminate interactor id="custom-selection"
    JMap.Map.Interaction.terminateInteractorById("custom-selection")