Return number of layers on the map that are set visible.
mapCanvas.layerCount(...)
low-level parameters (such as host and auth) to be passed on to qgisremote()
host
auth
qgisremote()
An integer.
mapCanvas.layer(), mapCanvas.layers()
mapCanvas.layer()
mapCanvas.layers()