<div dir="ltr">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?<div>
<br></div><div style>Thanks,</div><div style>Rudi</div><div><br></div></div>