Skip to content


Browse files Browse the repository at this point in the history
Update qgsmapcanvas.sip
  • Loading branch information
mhugent committed Jan 4, 2016
1 parent f815ebc commit 1317220
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/gui/qgsmapcanvas.sip
Expand Up @@ -543,6 +543,10 @@ class QgsMapCanvas : QGraphicsView
//! called when panning is in action, reset indicates end of panning
void moveCanvasContents( bool reset = false );

//! Zooms to feature extent. Adds a small margin around the extent
//! and does a pan if rect is empty (point extent)
void zoomToFeatureExtent( QgsRectangle& rect );

//! called on resize or changed extent to notify canvas items to change their rectangle
void updateCanvasItemPositions();

Expand Down

0 comments on commit 1317220

Please sign in to comment.