[Qgis-user] Printing Qgis shown layers in new version
Asim al-sofi
asim56 at gmail.com
Fri Dec 8 06:47:34 PST 2023
Hi All,
I have a question related to printing out the shown layers in qgis.
I made a plugin that has worked fine in the older Qgis versions but not
working properly in the new version.
The problem that iam facing is that the
*QgsProject.instance().mapLayers().values()
*does not show me the layers shown in qgis.
So in the previous version, the below image gives me the names of the
layers *Gasunie 2, Gasunie Z-509-05 and Wattinfra Kabelverbinding*. But in
the new Qgis version it gives me the names *Overzicht entities
and openbasiskaart.nl <http://openbasiskaart.nl>*. Does anyone know how to
tackle this problem?
[image: Layers.png]
Thanks in advance
Kind regards
Asim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231208/2fba2baa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Layers.png
Type: image/png
Size: 6612 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231208/2fba2baa/attachment.png>
More information about the QGIS-User
mailing list