Thanks Jürgen, but QgsLegendInterface::moveLayer(QgsMapLayer * ml,int
groupIndex) is used to move a layer into a group ID according to the
documentation. It's not exactly what I want.
I'm surprise that we can't set an order for each layers like in
Openlayers or Leaflet. I'll wait for this
Hi Etienne,
On Sat, 14. Dec 2013 at 16:38:15 +0100, Etienne Trimaille wrote:
How can I detect that a raster layer has been deleted ?
It's derived from QObject so it also emits destroyed() signal[1].
Another question :
I didn't find a way to insert a layer at the bottom, not on the top.
I
Hi Etienne,
On 14. 12. 13 16:38, Etienne Trimaille wrote:
Hi,
Sorry, I'm a beginner in pyqgis.
I found the signal layerDeleted () in the QgsVectorLayer class,
however, I can't find it in the QgsRasterLayer class :
Hi,
Sorry, I'm a beginner in pyqgis.
I found the signal layerDeleted () in the QgsVectorLayer class,
however, I can't find it in the QgsRasterLayer class :
http://qgis.org/api/2.0/classQgsVectorLayer.html#acc3e594b1dac4815dc031a2236f66a96
Is there a reason ?
How can I detect that a raster layer