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
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to