Trace on OSM + distance

The draw of courses is now working (using OpenStreetMap). The bug about
distances is now solved.