Design + Engineering @ Mapbox
Use the line-gradient paint property and an expression to visualize distance from the starting point of a line.