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.
// Returns true if no selection is made for layer id 5.JMap.Map.Selection.isEmptyByLayerId(5) Copy
// Returns true if no selection is made for layer id 5.JMap.Map.Selection.isEmptyByLayerId(5)
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.