Return number of layers on the map that are set visible.

mapCanvas.layerCount(...)

Arguments

...

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

Value

An integer.

See also

mapCanvas.layer(), mapCanvas.layers()