joyceqh

refresh images on Image Layer

Discussion created by joyceqh on Jun 11, 2014
I have added an MapImageLayer on the map and add an MapImage(.png format) on the image layer. I want to accomplish the effect like showing a video by changing the href attribute of the Mapimage with a timer.
After I changed the href attribute the image did not change. I tried map.setExtent() and map.resize() and that does not work.
Now I remove the image from image layer first and change the herf and finally add the image again on the image layer. Now I can see images changing with the timer but images are changed flickeringly and the display effect is bad.
Any help would be greatly appreciated.

Outcomes