diff --git a/python/core/qgsmapsettings.sip b/python/core/qgsmapsettings.sip index 244305241af..17061284b62 100644 --- a/python/core/qgsmapsettings.sip +++ b/python/core/qgsmapsettings.sip @@ -89,7 +89,7 @@ class QgsMapSettings UseRenderingOptimization, //!< Enable vector simplification and other rendering optimizations DrawSelection, //!< Whether vector selections should be shown in the rendered map DrawSymbolBounds, //!< Draw bounds of symbols (for debugging/testing) - // TODO: ignore scale-based visibility (overview) + RenderMapTile }; typedef QFlags Flags; diff --git a/python/core/qgsrendercontext.sip b/python/core/qgsrendercontext.sip index a5f6b6579be..2e9c11790ff 100644 --- a/python/core/qgsrendercontext.sip +++ b/python/core/qgsrendercontext.sip @@ -19,6 +19,7 @@ class QgsRenderContext UseRenderingOptimization, //!< Enable vector simplification and other rendering optimizations DrawSelection, //!< Whether vector selections should be shown in the rendered map DrawSymbolBounds, //!< Draw bounds of symbols (for debugging/testing) + RenderMapTile }; typedef QFlags Flags; diff --git a/python/gui/qgsmapcanvas.sip b/python/gui/qgsmapcanvas.sip index d11e3235091..67225be6c62 100644 --- a/python/gui/qgsmapcanvas.sip +++ b/python/gui/qgsmapcanvas.sip @@ -276,6 +276,9 @@ class QgsMapCanvas : QGraphicsView //! true if antialising is enabled bool antiAliasingEnabled() const; + //! sets map tile rendering flag + void enableMapTileRendering( bool theFlag ); + //! Select which Qt class to render with //! @deprecated since 2.4 - does nothing because now we always render to QImage void useImageToRender( bool theFlag ) /Deprecated/;