PDA

View Full Version : qgraphicsgeomap clearmapobjects usage.



aya_lawliet
10th February 2012, 09:29
Hi,

Need help in using QGraphicsGeoMap::clearMapObjects();

Currently I have polylines dynamically drawn on my map, and i need to update these lines. When a button is clicked, I need to remove/clear the currently drawn polylines so I can update them with new colors of polylines.

I used clearMapObjects to clear the polylines, but its not clearing the polylines. May I asked how can I clear the polylines from the map?