I want to know how to keep a layer always on top of other layers!
After adding a vector layer ( QgisInterface->addVectorLayer ), I want that layer to always be displayed on top of layers added later. Can anybody help me with this ?
Asked
Active
Viewed 288 times
2
1 Answers
1
try addMapLayer
vlayer = QgsVectorLayer( path, name, "ogr" )
QgsMapLayerRegistry.instance().addMapLayer(vlayer)
rkm
- 1,751
- 12
- 22