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
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);
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
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
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
@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
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