• JMap.Layer.getLayerAttributesWithStatistics

    Returns the layer's attributes with their statistics.

    Parameters

    • layerId: JId

      The JMap layer id

    Returns Promise<JLayerAttributeWithStatistics[]>

    Throws

    Error if no layer found for the id

    Example

    // returns the attributes of layer id=3 with their statistics
    JMap.Layer.getLayerAttributesWithStatistics(3)