Re: [Qgis-developer] Adding a WMS layer via python

2013-02-24 Thread Kelly Thomas
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

Re: [Qgis-developer] Adding a WMS layer via python

2013-02-24 Thread Nyall Dawson
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: