Tim Sutton-4 wrote
>> I load a raster layer, set canvas color and so on. But the layer only
>> displays if i use QgsMapLayerRegistry.instance().addMapLayer(self.layer).
>> Without these code line my plugin only displays the rubber band, but not
>> the
>> raster layer. But if i use ...addMapLayer()
t;Info", str( self.layer.type() )
)
time.sleep(3)
self.canvas.scene().removeItem(r)
Is there any way to refresh the canvas without leaving the method
startTest() or displaying this QMessageBox ?
best regards,
DanielK
--
View this message in context:
http://osgeo-org