• JMap.Application.Annotation.getById

    Returns the annotation for the given id.

    Parameters

    • annotationId: string

      the given annotation id

    Returns JAppAnnotation

    Throws

    if the annotationId param is not a valid string, or annotation is not found

    Example

    // return the annotation for the given id
    JMap.Application.Annotation.getById("d68385b01be3c241c7b6298b2788839d")