Open Guylby opened 5 months ago
Pretty tricky algorithm I hope it's possible to do something with overlapping
Duplicate of #9975?
I've seen that in the route line customization multi colored lines and gradients are supported (for example, styling the line based on road surface or slope, etc), wouldn't it be possible to use the system to color the line differently for each intermediary step?
Osmand could retrieve on the itinerary data where each intermediary step is, as in Depart is 0kms, first intermediary 23,1kms, second 34,2kms, arrival 50kms, Then assign a different color for each portion? From 0kms to 23,1kms is Style1, from 23,1kms to 34,2kms is Style2, from 34,2kms to 50kms is Style3, etc.
Describe the idea (required)
When routing with multiples intermediary destinations, sometimes you use the same routes multiple times, and the itinerary lines overlap:
Screenshot:
Maybe Osmand could color each itinerary line between intermediary stops with slight hue variation derived from the selected color to differentiate them more easily:
Tell us about the expected behaviour (required)
Add an option in the route line customization menu to differentiate routes between each intermediary stop.
Add a base color, and a setting of how much the color should be shifted: Add setting : Hue shift: 20 Then generate in HSL the shifted colors: Color 1: Base color -20 Hue Color 2: Base color Color 3: Base color +20 Hue
Then cycle the colors for each segment: Segment between start and First stop: Color 1 Segment between first stop and second: Color 2 Segment between second stop and third: Color 3 Segment between third stop and fourth: Color 1 etc.
Tell us about alternatives you've considered (required)
Maybe use variation on Saturation or Lightness of color
Context (optional)
No response