We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent f815ebc commit 1317220Copy full SHA for 1317220
python/gui/qgsmapcanvas.sip
@@ -543,6 +543,10 @@ class QgsMapCanvas : QGraphicsView
543
//! called when panning is in action, reset indicates end of panning
544
void moveCanvasContents( bool reset = false );
545
546
+ //! Zooms to feature extent. Adds a small margin around the extent
547
+ //! and does a pan if rect is empty (point extent)
548
+ void zoomToFeatureExtent( QgsRectangle& rect );
549
+
550
//! called on resize or changed extent to notify canvas items to change their rectangle
551
void updateCanvasItemPositions();
552
0 commit comments