I'm using a path created by a set of coordinates and draw on canvas but I would like to change the color of overlapping lines.
Like:
if overlapping x2 => change the overlapped line color to green.
if overlapping x3 => change the overlapped line color to red.
and so on...
Here is a basic example:
I tried checking if the path contain the line but it does not feel right as I can have different start/end points for two lines but overlap in the middle of the long one. Thank you, Alex