Compass is a Nokia showcase example application that demonstrates the use of the Qt Location API and Nokia Maps with the compass sensor. This application can be used as a traditional compass with Nokia Maps and it allows the user to determine the bearing to the desired direction. The tracking function draws the travelled route to the map and the route can be saved in KML format.
This example is hosted in a Nokia Developer Project, where you can find additional documentation, discover recent revisions, and contribute to the project.
Watch the video (1:54).