• JMap.Layer.getDescription

    Returns the descrition of the layer.

    Parameters

    • layerId: JId

      The JMap layer id

    Returns string

    Throws

    Error if no layer found for the id

    Example

    // returns the description of layer id=3
    JMap.Layer.getDescription(3)