add wms caching note to QgsRasterDataProvider::draw()

This commit is contained in:
Juergen E. Fischer 2014-02-20 13:37:35 +01:00
parent a1ada3c54c
commit a46d7c06e3

View File

@ -66,7 +66,13 @@ class CORE_EXPORT QgsRasterDataProvider : public QgsDataProvider, public QgsRast
/* It makes no sense to set input on provider */
bool setInput( QgsRasterInterface* input ) { Q_UNUSED( input ); return false; }
/** \brief Renders the layer as an image */
/** \brief Renders the layer as an image
\note When render caching (/qgis/enable_render_caching) is on the wms
provider doesn't wait for the reply of the getmap request or all
tiles replies and can return incomplete images.
Temporarily disable render caching if you require the complete
wms image in the first call.
*/
virtual QImage* draw( const QgsRectangle & viewExtent, int pixelWidth, int pixelHeight ) = 0;
/** Get the extent of the data source.