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

2022-07-04 Thread Richard Duivenvoorde via QGIS-Developer
On 7/4/22 12:56, pathmapper wrote: Hi Richard, what are you trying to achieve? If you would like to flash only the border of the polygon you could try to use geometry.convertToType(1) (https://qgis.org/pyqgis/master/core/QgsGeometry.html#qgis.core.QgsGeometry.convertToType) to flash only a

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

2022-07-04 Thread pathmapper via QGIS-Developer
Hi Richard, what are you trying to achieve? If you would like to flash only the border of the polygon you could try to use geometry.convertToType(1) (https://qgis.org/pyqgis/master/core/QgsGeometry.html#qgis.core.QgsGeometry.convertToType) to flash only a LineGeometry instead of a

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

2022-07-04 Thread Richard Duivenvoorde via QGIS-Developer
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