<div>Hi, </div>
<div>&nbsp;</div>
<div>I&#39;m new to the QGIS API and have explored it very briefly. I&nbsp;am
trying&nbsp;to write&nbsp;a c++ plugin that will take in the locations
of&nbsp;approximately <strong>100&nbsp;vessels and render&nbsp;their current position</strong>
(which varies with time)on top of&nbsp;an underlying map. I&nbsp;used polygons to
represent those vessels on a vector layer using the memory provider.
Each update involves deleting old features and adding new ones followed
by refreshing of mapcanvas triggered when changes are committed. As
there is a need to render updates at a high frequency for real time
display, with <strong>positional data coming in at about 1-2Hz</strong>, the application was <strong>too occupied refreshing the canvas</strong>.
This makes the application unresponsive to&nbsp;subsequent user commands. I
tried using&nbsp;update(Rect of changedExtent) for localized painting/canvas
refreshing but the&nbsp;rendering is still too taxing.&nbsp;Can you provide some
advice on how i can&nbsp;go about rendering this huge amount of data in real
time? </div>

<div>&nbsp;</div>
<div>I also&nbsp;tried using rubberbands and they work much better but i
need to display text attributes beside each vessel which i do not
know&nbsp;how to achieve without labels. Any alternative to rendering text
at specific map location that i can update in real time?<br><br>Your help is very much appreciated. Thank you.<br></div>