mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-10 00:05:25 -04:00
add wms caching note to QgsRasterDataProvider::draw()
This commit is contained in:
parent
a1ada3c54c
commit
a46d7c06e3
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user