Returns information about the map layer at the given position index in the layer stack.
mapCanvas.layer(index, ...)
position index in the layer stack (between 0 and mapCanvas.layerCount()-1)
mapCanvas.layerCount()
low-level parameters (such as host and auth) to be passed on to qgisremote()
host
auth
qgisremote()
A list of class qgislayer().
qgislayer()
qgislayer(), mapCanvas.layers()
mapCanvas.layers()