is it possible to assign a different color for each point in a route in the addroute() function?
I.e. for displaying the altitude in a route?
You can only set a color for the line, rather than each point. However, have you tried splitting the route up into groups (defined by altitude ranges), and to add a new route with a new color for each segment in the journey (or whatever) that moves into a different range?
Alternatively, you could use a map annotation at each point in the route, but bear in mind that there are only 3 colours available for annotations (red, green and purple).
Hope this is useful.