I have a whole bunch of markers (QgsVertexMarker), and I'm trying to
highlight the active one when the selection in a list changes. To do this I
make the active marker red, while the others are green. However, in order
for the new colour to be visible, I have to do a mapCanvas().refresh(),
which takes about a second. The idea is that it should be quick and easy to
scroll through the markers, so it's quite annoying that it takes so long to
just change the colour. Is there some other way to update just the marker
itself? I see there is a paint(QPainter) method for QgsVertexMarker - is
there some way to use that?

Thanks,
Rudi
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to