Skip to content

Commit a46d7c0

Browse files
committedFeb 20, 2014
add wms caching note to QgsRasterDataProvider::draw()
1 parent a1ada3c commit a46d7c0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎src/core/raster/qgsrasterdataprovider.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,13 @@ class CORE_EXPORT QgsRasterDataProvider : public QgsDataProvider, public QgsRast
6666
/* It makes no sense to set input on provider */
6767
bool setInput( QgsRasterInterface* input ) { Q_UNUSED( input ); return false; }
6868

69-
/** \brief Renders the layer as an image */
69+
/** \brief Renders the layer as an image
70+
\note When render caching (/qgis/enable_render_caching) is on the wms
71+
provider doesn't wait for the reply of the getmap request or all
72+
tiles replies and can return incomplete images.
73+
Temporarily disable render caching if you require the complete
74+
wms image in the first call.
75+
*/
7076
virtual QImage* draw( const QgsRectangle & viewExtent, int pixelWidth, int pixelHeight ) = 0;
7177

7278
/** Get the extent of the data source.

0 commit comments

Comments
 (0)
Please sign in to comment.