Retrieve the number of features that are selected in a vector layer.

mapLayer.selectedFeatureCount(layer = NULL, ...)

Arguments

layer

layer (or ID of the layer) from which the feature count should be retrieved. If not specified, defaults to the layer currently selected in QGIS.

...

low-level parameters (such as host and auth) to be passed on to qgisremote()

Value

A numeric.