• JMap.Layer.hasInformationReport

    Returns true if the given layer has an information report set in JMap Admin.

    Parameters

    • layerId: JId

      the JMap layer id

    Returns boolean

    Throws

    if layerId not valid or layer not found

    Example

    // returns true if JMap layer id="3" has an information report set in JMap admin
    JMap.Layer.hasInformationReport(3)