• JMap.Map.Selection.isEmptyByLayerId

    Returns true if no selection is made for the specified layer.

    If at least one feature is selected on the layer, returns false.

    Parameters

    Returns boolean

    Example

    // Returns true if no selection is made for layer id 5.
    JMap.Map.Selection.isEmptyByLayerId(5)