Hi, the QgsRasterLayer costructor has changed. If I try this:
rlayer = QgsRasterLayer('
http://testsrv/mapaccel?map=ciao.map&crs=EPSG:25832&format=image/png',
'test', 'wms')
QgsMapLayerRegistry.instance().addMapLayer(rlayer)
self.iface.mapCanvas().refresh()
the wms raster layer is never added to map. How can I fix this?
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
