views:

57

answers:

0

Hello,

I'm developing an iPhone app where I have a route that I display on a map. The route is made up of a bunch of waypoints and for each waypoint I have the (air) temperature at that spot. I would like to color the route according to the temperature values. Now I was wondering if I could somehow map my temperature scale, ranging from say -20 C to 40 C to a full RGB gradient (using Quartz 2D)?

Thanks!