(Not Signed In)

Sign In

.NET Development: Animated map icons

Bottom of Page

1 to 3 of 3

  1.  
  1.  
    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
  2.  
    Pepita,

    Excellent, that reduces the cpu usage to an acceptable level.

    Many thanks
    Keith

1 to 3 of 3

  1.