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.


An extension of MapLibre GL JS