.NET Development: Animated map icons
1 to 4 of 4
-
- CommentAuthorKeith Darragh
- CommentTimeDec 16th 2009
Hi,
I'm evaluating the WinForm control with a view to moving from Map24's product, because the Map24 product does not have a local data source.
One issue which I would like some advice on is how to place icons on the map which are animated, for example a flag blowing in the wind. I have tried creating a simple object which implemented the IMapRenderer interface, then I used a timer to keep changing the icons. This works, but because the entire map has to be rendered every 200ms causes excessive cpu usage.
Is there any other way to do this, without having to render the entire map?
- Keith -
-
CommentAuthorPepitaL
- CommentTimeDec 16th 2009
Hi Keith,
The MapCtrl has a property called DoubleBuffering that allows the renderer to redraw without a complete map redraw.
You will find more detailed information in the documentation: http://docs.geobase.info/html/74d75e4e-7a14-4fdd-abb1-be0152bd0127.htm
I hope this helps
Pepita -
-
- CommentAuthorKeith Darragh
- CommentTimeDec 17th 2009
Pepita,
Excellent, that reduces the cpu usage to an acceptable level.
Many thanks
Keith -
- CommentAuthormanish
- CommentTimeSep 16th 2010
Hi Keith,
can you provide the implementation step for animated icon.
it will be appriciated if you could provide some sample code to implement the animated icon.
-manish
1 to 4 of 4
