geeksville/Gaggle — pull request #68 by relet (2012-06-14 11:47:53+00:00)
Title: color coded lift/sink in the map view

I noticed you had begun to code this, but not integrated with the OSM view.
I extended the "speed-optimized" OSM onDraw method with buffered per point color information.

The color information is generated once (currently using basic lift/sink wrt the previous point).

There is a configurable detail cutoff for the last thousand points, before which lines are painted in larger blocks and in neutral red.
Lift / sink color coding does not take into account max/min lift as before, but is in a static range between -5 to 5 m/s, resulting in a more uniform color scheme for all flights.
These values could be fetched from the vario cutoff configuration or an own config entry.