• JMap.Application.Measure.getById

    Returns the measure for the given id.

    Parameters

    • measureId: string

    Returns JAppMeasure

    Throws

    Error if measureId is not a string or an empty string, or if measure is not found

    Example

    // return the measure for the given id
    JMap.Application.Measure.getById("ac57b1bd83ca6d8e0013e4cf9f06847e")

    // throws an error
    JMap.Application.Measure.getById("")

    // throws an error
    JMap.Application.Measure.getById()