In JS API 4.9 there were two ways af using animated marker symbols:
- using Animated GIFs as a PictureMarkerSymbol
- using a css definition on the svg of a SimpleMarkerSymbol
In 4.11 both of these are no longer available.
Is there an easy possibility to have an animated marker symbol in the current api version without having to e.g. change the symbol itself using timeouts/intervals?
Solved! Go to Solution.
No, for 4.11, there is no "easy" solution for animated graphics. It is something we're working on to bring back to the API.
Meanwhile, you could use a custom WebGL Layer - see this sample with a pulsating marker: https://developers.arcgis.com/javascript/latest/sample-code/custom-gl-visuals/index.html
No, for 4.11, there is no "easy" solution for animated graphics. It is something we're working on to bring back to the API.
Meanwhile, you could use a custom WebGL Layer - see this sample with a pulsating marker: https://developers.arcgis.com/javascript/latest/sample-code/custom-gl-visuals/index.html