mapbox-android-demo icon indicating copy to clipboard operation
mapbox-android-demo copied to clipboard

Animated dash line

Open langsmith opened this issue 7 years ago • 6 comments

Resolves #795

langsmith avatar Jul 30 '18 18:07 langsmith

Making progress on this. Not sure why the LineLayer is flashing though. My guess is that it has to do with the calculations that I'm doing in the Runnable's run() method 🤔

ezgif com-optimize

langsmith avatar Aug 01 '18 19:08 langsmith

Thank you

tonylikestoburns avatar Aug 22 '18 22:08 tonylikestoburns

You got it @tonylikestoburns . That's why this app exists 👍 Thanks for your interest in Mapbox.

langsmith avatar Aug 22 '18 22:08 langsmith

@langsmith is this feature has been implemented to animate the dashed lines?

harry-wilson avatar May 09 '19 07:05 harry-wilson

hey @harry-wilson , thanks for your interest in Mapbox. I still haven't figured out how to get rid of the flashing, nor the right lineDasharray values to have the lines look like they're moving seamlessly. You'll notice in the GIF above that at a certain point, the lines appear as if they're coming out of a dot.

cc @1ec5 who's accomplished this marching ants look on other platforms.

langsmith avatar May 09 '19 18:05 langsmith

Thanks @langsmith for your effort on the task. I'll be waiting for this amazing feature to apply for traffic flows.

harry-wilson avatar May 11 '19 05:05 harry-wilson