• JMap.Query.getQueriesByLayerId

    Returns all queries defined for a given layer id.

    Parameters

    • layerId: JId

      The JMap layer id

    Returns JQuery[]

    Throws

    if layer id is not correct (invalid format or no resource exists)

    Example

    // returns all queries of layer id=12
    JMap.Query.getQueriesByLayerId(12)