-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Flash features #5268
[FEATURE] Flash features #5268
Conversation
Nice! |
Nice! Is it working when we use the Locator bar to select a feature? |
Not yet, but should be quite straightforward to utilise it there |
src/gui/qgsmapcanvas.h
Outdated
* \since QGIS 3.0 | ||
* \see flashFeatureIds() | ||
*/ | ||
void flashGeometries( QgsVectorLayer *layer, const QList< QgsGeometry > &geometries, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about making this accept a QgsCoordinateReferenceSystem instead of a QgsVectorLayer? This would make this usable for a wider range of applications.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed - I'll do that
Nice! |
Nice addition! |
secondary lines enabled
This adds: - API call to QgsMapCanvas to flash a set of features - A right click menu option in the attribute table to flash the clicked feature - An option in the Search by Form dialog to flash matching features When triggered, the features flash allowing easy identification without having to alter the current selection or map extent
Fixes potential crash
Use a QgsCoordinateReferenceSystem object instead of QgsVectorLayer to make API more flexible
This adds:
When triggered, the features flash allowing easy identification without having to alter the current selection or map extent
Screencast at https://youtu.be/pzIxAwzqaPM