[mapguide-users] Inserting GIF in to MapGuide Studio (symbol libraries)

Kenneth, GEOGRAF A/S ks at geograf.dk
Sun Nov 18 09:00:28 EST 2007


When the map is rendered, it becomes a large static PNG image.
This means that any animated GIF file would not be animated anymore, 
because the GIF image is copied into the PNG.
JPEG certainly does not support animation, and AFAIK, neither does PNG.

To do what you propose, you can insert a number of <img> tags in the 
HTML, on top of the rendered PNG image.
These <img> tags can then be positioned as desired by reading their 
coordinates from the datasource, and converting the coordinate to pixel 
values.
It does require some coding on your part, but you may be able to create 
it as a plug-in that can complement the existing MapGuide solution.
If you do manage to build this as a plugin, you can submit it for 
inclusion with the regular viewer.

Regards, Kenneth, GEOGRAF A/S



ori gudes skrev:
> Hi Colleagues
>
> Did someone insert GIF in to MapGuide Studio (symbol libraries)? I know that
> the GIF format is not supported by the Symbol Libraries.
>
> However, I thought it might be interesting to add animated GIF as symbols on
> top of the MapGuide Platform, this would enhance the MGOS
> Design and cartography abilities.
>
>
> Cheers Ori   
>
>   


More information about the mapguide-users mailing list