Skip to content
Permalink
Browse files

Update sip binding

  • Loading branch information
mhugent committed Jul 14, 2016
1 parent 48da1de commit 4d1fbee7f0a03ec379ef7c83b3bd9583cb36fac5
Showing with 5 additions and 0 deletions.
  1. +5 −0 python/gui/qgsmapcanvas.sip
@@ -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 );

0 comments on commit 4d1fbee

Please sign in to comment.
You can’t perform that action at this time.