[QGIS-Developer] flash geometries for (larger) polygons?

Richard Duivenvoorde rdmailings at duif.net
Sun Jul 3 23:59:34 PDT 2022


Hi Devs,

We have a geocoder plugin, which is able to return polygons.

Wanting to be able to see what (province/neighourhoud/zip code etc) it is I thought to use:

https://qgis.org/pyqgis/master/gui/QgsMapCanvas.html#qgis.gui.QgsMapCanvas.flashGeometries

but that only flashes a full non transparant geometry (polygon in our case).

Looking into the code:

https://github.com/qgis/QGIS/blob/master/src/gui/qgsmapcanvas.cpp#L1876

it looks like it really is written towards a begin/end color flash, so I think adding a 'fill' would not fit.

Any idea's?

Maybe adding transparency is easiest then?

Regards & thanks for any input,

Richard Duivenvoorde


More information about the QGIS-Developer mailing list