QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Utility functions for working with QgsMapCanvas widgets. More...
#include <qgsmapcanvasutils.h>
Static Public Member Functions | |
static long | flashMatchingFeatures (QgsMapCanvas *canvas, QgsVectorLayer *layer, const QString &filter) |
Flashes features from the specified layer which match the given filter expression string with a map canvas. More... | |
static long | zoomToMatchingFeatures (QgsMapCanvas *canvas, QgsVectorLayer *layer, const QString &filter) |
Zooms a map canvas to features from the specified layer which match the given filter expression string. More... | |
Utility functions for working with QgsMapCanvas widgets.
Definition at line 31 of file qgsmapcanvasutils.h.
|
static |
Flashes features from the specified layer which match the given filter expression string with a map canvas.
The total count of matching features will be returned.
Definition at line 54 of file qgsmapcanvasutils.cpp.
|
static |
Zooms a map canvas to features from the specified layer which match the given filter expression string.
The total count of matching features will be returned.
Definition at line 21 of file qgsmapcanvasutils.cpp.