[Qgis-developer] Re: WMS enhancement request: possiblity to pass
wmsprovider::draw a list of custom parameters
G. Allegri
giohappy at gmail.com
Thu Jul 1 12:52:21 EDT 2010
I've studied the API a bit more, and I see the Draw cannot be touched.
It would ok to have an additional public QMap field in the
wmsprovider, to be able to set additional request params that will be
inserted in the url used inside the Draw method...
giovanni
2010/7/1 G. Allegri <giohappy at gmail.com>:
> We need to update a WMS layer with some additional custom parameters
> during it's draw request.
> I see that this is impossible, and ew have to make a new WMS instance
> to do it, as all the wmsprovider parameters aren't updatable (uri,
> etc.).
> What about adding a fourth parameter to QgsWmsProvider::draw(
> QgsRectangle const &viewExtent, int pixelWidth, int pixelHeight ),
> like a QMap<QString,QString>, to pass additional parameter to the
> QNetworkRequest request?
>
> Giovanni
>
More information about the Qgis-developer
mailing list