[Qgis-developer] WMS layers and plugin interface

Martin Dobias wonder.sk at gmail.com
Tue Jun 3 05:13:59 EDT 2008


On Tue, Jun 3, 2008 at 9:07 AM, Hugentobler  Marco
<marco.hugentobler at karto.baug.ethz.ch> wrote:
> Hi QGIS devs,
>
> Am I right that it is not possible to add WMS layers from plugins with the current plugin interface? There seems to be only
>
> virtual QgsRasterLayer* addRasterLayer(QString rasterLayerPath, QString baseName = QString())=0;
>
> for file-based raster layers. Would it be ok to add a similar function for WMS layers, e.g.

Hi Marco,

yes, it's not possible :-)
feel free to add such function, it won't break anything.

Martin


More information about the Qgis-developer mailing list