Closed vmatare closed 9 years ago
Thanks a lot for the contribution. Reading the code looks good to me. I'll test in the coming days and merge after.
Ok, I've imported your pull request. I've modified a bit the arrow drawing to be longer and under the GPS heading direction. I've also added a red arrow for the south direction.
Besides, it seems to me that there was an issue with the magnetic direction. When the device is rotated, the north is changing much, which is strange IMHO. I've took the opposite of the azimuth angle to draw, so the north stays more or less in the same direction. Tell me your opinion.
Ok, so I implemented a compass arrow, by simply adding another triangle to the GPS maker. Found it to be very useful although it does increase power consumption a bit. On my Jolla however, the compass updates automatically stop when I turn off the display, so I can keep it in my pocket without additional drain on the battery.