Create a gradient line using an expression
Use the line-gradient paint property and an expression to visualize distance from the starting point of a line.
Use the line-gradient paint property and an expression to visualize distance from the starting point of a line.