On Thu, Jan 24, 2013 at 1:32 PM, Alexander Bruy <alexander.b...@gmail.com> wrote: > Hi Pirmin, > > as I can see in API docs (using your link) there is a note: > > Note: > This method is deprecated since QGIS 1.8, you should use > addMapLayers rather.
A bit off-topic, but I find it weird that addMapLayer() method has been marked as deprecated: even if now we have the possibility to specify more layers at once, it is always good to have a convenience call that accepts just one layer (as that's what most users will do). Martin _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer