ThinkGeo.com    |     Documentation    |     Premium Support

Animated GIF file using Map Suite

Hi


i want to use animated gif file on the map suite. but it is not working with me. I tried one of the animated GIF file in the “EfficientlyMoveACarImage.vb” module of Dynamic Shapes. I replace “Prop Plane.png”  with some animated “Tank.gif”. But it is not showing animation just showing image as a static. Please give me some solution.Is there some way to present animated GIF on MAPSUITE with sample code. 


Thanks


Regards,


Zeeshan



ZEESHAN,


Thanks for your post and interests in Map Suite component. We have a post including a sample talking about the GIF support. Hope it can helps.
gis.thinkgeo.com/Support/Dis...fault.aspx
 
Any more questions just feel free to let me know.
 
Thanks.
 
Yale

Yale i read the post that you suggested but that discussion was not according to my need. I simple need to see animated giff file on the Mapsuite plotted thru latitude & longitude. I cant check that attachment coz that is not supporting in VS.NET 2005. And secondly i need in VB code.So kindly help me hurridly if u can. i have to present demo on 18th of this month to my CEO. The SDK tool kit that i downloaded from your site suggest me some code to add in some module please.

Zeeshan,


For inspiration you might take a look at the following Code Community project that uses a flashing icon:

code.thinkgeo.com/projects/s...pointstyle


Thanks!



Ryan this is not my need.  just take a look again what i am trying to say in my last post then reply me accordingly. Thanks

 


ZEESHAN,
 
I create a new sample follow your description, I attached the both C# and VB source that Yale, Ryan and you all can read.
 
Thanks
 
James

1755-EfficientlyMoveAPlaneImage.cs (8.88 KB)
1757-EfficientlyMoveAPlaneImage.vb (8.77 KB)

THANKS FINALLY THE DREAMS COME TRUE

ZEESHAN, 
  
 We are very glad that you got it. 
  
 Just let me know if you have another requirements. 
  
 Thanks 
  
 James

James u helped me in the execution of animated giff icons on MapSuite. I m succeed in plotting same animated giff more than once on Mapsuite using same layer. But how i can plot DIFFERENT ANIMATED GIFF USING SAME LAYER ?

Plotting different animated gifs using the same layer is possible. We are preparing a little sample app to show how to do that. We will have that ready for you tomorrow. Thank you for helping us making our product more robust.



 We have a solution for you for using different animated gifs on the same Overlay. We created a class AnimatedGiffInMemoryFeatureLayer that takes for handling animated gif seperately. You can look at the code with the attached files, TestForm.cs and AnimatedGifInMemoryFeatureLayer.cs.


Now, it would also be possible to have different animated gifs for each feature of the same InMemoryFeatureLayer but it would require more work and we don't have that ready yet. But I think that what we have right now is going to get you going for what you need to accomplish.


 I let you know that we will also publish projects on Animated Gif in our Code Community, so do not forget to check that on a regular basis. code.thinkgeo.com/


 



1789-AnimatedGifInMemoryFeatureLayer.cs (1.58 KB)
1790-TestForm.cs (5.66 KB)

 I let you know that today we publish a Code Community project on that topic.


code.thinkgeo.com/projects/show/animatedgif



Vale i m working in VB.NET kindly provide me vb code. thanks

Tomorrow morning, we will provide you the project converted to VB. Thank you.

Please, download the VB version of the Code Community project for animated gif at:


code.thinkgeo.com/projects/l...nimatedgif


Thank you for your interest in Map Suite.



Val i m making application in VB 2005 kindly send me for version 2005

I do not have version 2005 of Visual Studio installed on my machine. I think that you should still able to open the files in VS 2005 and copy paste the code into your 2005 solution. The code should be almost identical or maybe have some minor differences. Thank you.

Thanks so much Val i have finally managed to open in VB 2005 and its working fine with me :)

ZEESHAN, 
  
 We are glad that it’s working fine with you. 
  
 Please let me know if you have more questions. 
  
 Thanks 
  
 James

James animted giff icon is moving with so delay. How i can improve infact i increased referesh rate from  gifFrameTimer.Interval = 200 to gifFrameTimer.Interval = 100   ?