Point SVG Node animation stops once it is outside the view port

654
0
05-20-2014 07:26 PM
MadaniBenghia
New Contributor
Hi,

I have a map where I render a Point using a SimpleMarkerSymbol, and a Polyline using a SimpleLineSymbol. Both graphics are added to the graphics layer.I use javascript to add an animationMotion to the SVG node of the Point so it animates through the Polyline path.The animation is working fine, but only as long as the original location of the point is within the view port of the browser.If I use panning to a move to another location where the original point location is not within the view port, the animation will stop and the point/circle will disappear from the screen.The point/circle will also get removed from the DOM.

Thanks in advance

Madani
0 Kudos
0 Replies