In this exercise we create a geolocation based speedometer and compass.
The exercise requires us to install an IOS simulator that unfortunately only works on Mac computers.
For the challenge we have to use the geolocation API to rotate an image in the form of a compass. The image will be altered based on the position, speed and heading of the device it is running on.
In case you have a Mac the code is below!
Furthermore, since this exercise could not be done on windows. I created a JS Calculator instead for fun, and have added that to the demo page for day 21.