ThinkGeo.com    |     Documentation    |     Premium Support

Is it possible to animate images(Raster Data) using Marker Style

Hi,
I want to animate images(Raster Data) by some time interval. Is it possible to achieve by using Marker Style.
Now I am using ‘timer’, with that time intervals images are displaying by using GdiPlusRasterLayer.

Code:
GdiPlusRasterLayer lightningRadar = new GdiPlusRasterLayer(_sMapDataPath+ imgName, _proj.ConvertToExternalProjection(new RectangleShape(-179.999979224, 79.9899914532, 179.972976801, -50.0233908027)));

LayerOverlay ol_Lightning = new LayerOverlay();
wfMap.Overlays.Add(“LightningOverlay”, ol_Lightning);
wfMap.Overlays.MoveTo(“LightningOverlay”, 1);
ol_Lightning.Layers.Add(“Lightninglayer”, lightningRadar);
wfMap.Refresh(wfMap.Overlays[“LightningOverlay”]);

Same concept, possible to achieve by any Marker Style.

Please suggest me some ways to achieve it.

Thanks,
Riyaz

Hi Riyaz,

I am not sure whether I understand your requirement, but if you want to make an image looks run on map, you can refer this sample: https://github.com/ThinkGeo/VehicleTrackingSample-ForWinForms

It simulate vehicle run on map.

Wish that’s helpful.

Regards,

Don