Skip to content

Commit aa3e550

Browse files
committedJan 19, 2016
Revert "Revert sipfile changes"
This reverts commit f728465.
1 parent f728465 commit aa3e550

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed
 

‎python/core/qgsmapsettings.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class QgsMapSettings
8989
UseRenderingOptimization, //!< Enable vector simplification and other rendering optimizations
9090
DrawSelection, //!< Whether vector selections should be shown in the rendered map
9191
DrawSymbolBounds, //!< Draw bounds of symbols (for debugging/testing)
92-
// TODO: ignore scale-based visibility (overview)
92+
RenderMapTile
9393
};
9494
typedef QFlags<QgsMapSettings::Flag> Flags;
9595

‎python/core/qgsrendercontext.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class QgsRenderContext
1919
UseRenderingOptimization, //!< Enable vector simplification and other rendering optimizations
2020
DrawSelection, //!< Whether vector selections should be shown in the rendered map
2121
DrawSymbolBounds, //!< Draw bounds of symbols (for debugging/testing)
22+
RenderMapTile
2223
};
2324
typedef QFlags<QgsRenderContext::Flag> Flags;
2425

‎python/gui/qgsmapcanvas.sip

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ class QgsMapCanvas : QGraphicsView
276276
//! true if antialising is enabled
277277
bool antiAliasingEnabled() const;
278278

279+
//! sets map tile rendering flag
280+
void enableMapTileRendering( bool theFlag );
281+
279282
//! Select which Qt class to render with
280283
//! @deprecated since 2.4 - does nothing because now we always render to QImage
281284
void useImageToRender( bool theFlag ) /Deprecated/;

0 commit comments

Comments
 (0)
Please sign in to comment.