Skip to content
Permalink
Browse files

add wms caching note to QgsRasterDataProvider::draw()

  • Loading branch information
jef-n committed Feb 20, 2014
1 parent a1ada3c commit a46d7c06e305f1de993e4cd544201ef81691d1df
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/core/raster/qgsrasterdataprovider.h
@@ -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.

0 comments on commit a46d7c0

Please sign in to comment.
You can’t perform that action at this time.