From: nyall.daw...@gmail.com
Subject: [Qgis-developer] Adding a WMS layer via python
I'm wondering if someone can help me out here - I'm trying to add a
WMS layer via a python plugin, but I'm having trouble with two
settings I need:
1: setting a username and password to use for the layer
I haven't had need to tweak the tile size so I can't offer any advice there.
However I have had success adding authenticated WMS layers to 1.8 with this
code:
if len(self.user) 0 :
connectionString = username= + self.user + ,password= + self.password +
,url= + self.url
else: