No. 3 most popular Mapbox.js example by analytics in the past year
https://www.mapbox.com/mapbox.js/example/v1.0.0/dynamically-drawing-a-line/
Happy to work on this example
Curious why this commit did not make its way to an example but may start from there.
cc @geografa @tristen
@YunjieLi Oh! I forgot about this and it's unfinished. Go for it!
@YunjieLi nice! From support questions, we get two types of requests for this kind of example - animating the line and making the line disappear after a specific distance or time similar to the Courier example.
Thanks @geografa !
It's easy to stop after a specific time. But it will need turf for a certain distance or along a specific route. I'll give that a shot and see how it works.
I'll definitely add a play/pause button too.
Hi,
Just wondering if there's an update on this, as I'm looking into this for a project I'm working on.
Thanks!
@mcurtiswilliams this just went alive!
Most helpful comment
@YunjieLi nice! From support questions, we get two types of requests for this kind of example - animating the line and making the line disappear after a specific distance or time similar to the Courier example.