Re: [Qgis-developer] Is QGIS supports dynamic display?

2014-09-15 Thread Spartucus
Hi Martin, I implemented my own canvas item for SVG markers like you told me. But When I created a object of custom canvas item in main, it broke down. The error says 'This may be due to a corruption of the heap...', see more in error.jpg. I looked up for answers in exchange, which I

Re: [Qgis-developer] Is QGIS supports dynamic display?

2014-09-15 Thread Spartucus
Never mind. I solved the problem. void TFMapCanvasSvgItem::paint(QPainter* painter) { if (!painter) { return; } QImage svgImage(50, 40, QImage::Format_ARGB32); svgImage.fill(Qt::transparent); QPainter imagePainter(svgImage);

Re: [Qgis-developer] Is QGIS supports dynamic display?

2014-08-19 Thread Martin Dobias
Hi Bob On Tue, Aug 19, 2014 at 7:07 PM, Tendfly Niu niu...@hotmail.com wrote: Hi Martin, I'm sorry to ask you again. I looked up QgsRubberBand class, it has 5 Geometry types: Point, Line, Polygon, UnknownGeometry, NoGeometry. It seems there's no way to add a svg symbol as a car icon on

Re: [Qgis-developer] Is QGIS supports dynamic display?

2014-08-18 Thread Martin Dobias
Hi Bob QGIS allows you to have dynamic objects on top of map canvas. These objects are called map canvas items, having QgsMapCanvasItem as a base class. You can either implement your own item or use an existing implementation, e.g. QgsRubberBand class (used for example to highlight features when

Re: [Qgis-developer] Is QGIS supports dynamic display?

2014-08-11 Thread Zoltan Szecsei
On 2014/08/11 04:11, ?? ? wrote: Dear all, I'm a new developer of QGIS using C++. I am doing a project which needs dynamically displaying maps/layers(just like GPS,layers automatically refreshing with the changing of object's position).I kown ARCGIS has the technique called dynamic

Re: [Qgis-developer] Is QGIS supports dynamic display?

2014-08-11 Thread Tendfly Niu
@lists.osgeo.org Subject: Re: [Qgis-developer] Is QGIS supports dynamic display? On 2014/08/11 04:11, 腾飞 牛 wrote: Dear all, I'm a new developer of QGIS using C++. I am doing a project which needs dynamically displaying maps

[Qgis-developer] Is QGIS supports dynamic display?

2014-08-10 Thread 腾飞 牛
Dear all, I'm a new developer of QGIS using C++. I am doing a project which needs dynamically displaying maps/layers(just like GPS,layers automatically refreshing with the changing of object's position).I kown ARCGIS has the technique called dynamic diasplay(or something like that),which