Navigation Menu

Skip to content

Commit

Permalink
Update sip binding
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jul 14, 2016
1 parent 48da1de commit 4d1fbee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/gui/qgsmapcanvas.sip
Expand Up @@ -182,6 +182,11 @@ class QgsMapCanvas : QGraphicsView
@param ids the feature ids*/
void zoomToFeatureIds( QgsVectorLayer* layer, const QgsFeatureIds& ids );

/** Centers canvas extent to feature ids
@param layer the vector layer
@param ids the feature ids*/
void panToFeatureIds( QgsVectorLayer* layer, const QgsFeatureIds& ids );

/** Pan to the selected features of current (vector) layer keeping same extent. */
void panToSelected( QgsVectorLayer* layer = 0 );

Expand Down

0 comments on commit 4d1fbee

Please sign in to comment.