• JMap.Application.Annotation.getSelectedIds

    Returns the ids of the selected annotations.

    Empty array if no annotation is selected

    Returns string[]

    Example

    // return ids of selected annotations
    JMap.Application.Annotation.getSelectedIds()