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 doing identification). In your case, you could
have one QgsRubberBand instance and just change its position on map
whenever appropriate.

Cheers
Martin


On Mon, Aug 11, 2014 at 9:11 AM, 腾飞 牛 <niu...@hotmail.com> 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 diasplay(or something like that),which supports the
> capacity to do such things. Is QGIS has this ability? Any advices would be
> appreciated!
>
> Regards
> Bob
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to