Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to animate ArcLayer arcs individually? #633
Hi, I'm working on a project to visualize flight trips on a map, and I would like to animate this such that I can see flight paths appearing and disappearing (similarly to the Trips example, but using ArcsLayer instead of TripsLayer).
Following the Trips example, I managed to use
This is what I tried:
This renders but it doesn't move past what I am guessing is the first frame of the animation - the render doesn't seem to update even though when I print the time variable in the console I can see it updating.
I have successfully used
Alternatively, it would be good to just 'turn off' the arc instead of rendering a zero-opacity arc but I have not been able to figure out how to do this either.
You'll want to specify that the attributes affected by those accessors need to be updated when
Clearly, this important feature is not nearly as well documented as it should be.
Hi @ibgreen, thanks that answered my question!
Is there a property or method for the ArcLayer to completely turn lines off or on, for example setting