Skip to content

Commit b6b5afd

Browse files
committedJul 24, 2016
[FEATURE] Ability to cancel rendering of rasters + WMS/WCS support
The improvement allows immediate cancellation of raster rendering in progress. Until now, even when map rendering got cancelled (e.g. by zooming of panning canvas), the GUI got blocked while waiting for raster layers to finish their rendering (only vector layers have had support for cancellation). This should allow for much smoother user experience while browsing maps including rasters. The cancellation is supported currently by WMS/WMTS and WCS providers. GDAL provider may also get support thanks to improvements in GDAL 2. Funded by Land Information New Zealand.
1 parent 0974f0b commit b6b5afd

File tree

63 files changed

+328
-132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+328
-132
lines changed
 

‎python/core/core.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
%Include qgsfeaturefilterprovider.sip
5454
%Include qgsfeatureiterator.sip
5555
%Include qgsfeaturerequest.sip
56+
%Include qgsfeedback.sip
5657
%Include qgsfield.sip
5758
%Include qgsgeometrysimplifier.sip
5859
%Include qgsgeometryvalidator.sip

‎python/core/qgsmaplayerrenderer.sip

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ class QgsMapLayerRenderer
1212
//! Do the rendering (based on data stored in the class)
1313
virtual bool render() = 0;
1414

15+
//! Access to feedback object of the layer renderer (may be null)
16+
//! @note added in QGIS 3.0
17+
virtual QgsFeedback* feedback() const;
18+
1519
//! Return list of errors (problems) that happened during the rendering
1620
QStringList errors() const;
1721

0 commit comments

Comments
 (0)
Please sign in to comment.