[Qgis-developer] QgsMapLayerRegistry.mapLayers() not available
in Python Bindings
wonder.sk at gmail.com
Fri Jan 11 06:30:04 EST 2008
On Jan 11, 2008 11:40 AM, Barry Rowlingson <b.rowlingson at lancaster.ac.uk> wrote:
> You can get all the layers in the current map canvas from the console thus:
> # get the map canvas
> # how many layers are there?
> # loopage:
> for l in range(nLayers):
> layer = mc.getZpos(l)
> - is that good enough?
Well, it doesn't include hidden layers....
More information about the Qgis-developer