One evening and the map works. Two whole days and I still cant get bearing calculation working. Mathematics is definitely not my strongest area. I think I’m calling in the medics with the mess of calculating bearings.
I originally thought I would use PyQt but as it turns out, there is no map widget available for that on Maemo. So PyGtk and osm-gps-map it is, the map widget is already being used in other Maemo applications. My mentor contacted the osm-gps-map team and they were nice enough to verify that their widget can support custom CloudMade maps. This means I will be able to design a map style that fits the spirit of my application.
If you want to see the map part working, try running map.py from my GitHub repository. Here is how it looks like on an Ubuntu Netbook:
Next week I’ll be concentrating on minor details and organizing an event for nearly 600 persons. After that it’s an intensive week wrapping this up for midterm evaluation.