In this task, we will work on designing our data models. We'll focus on our document and the items that go in it; the document manager model remains unchanged from the previous project.
If you look up the documentation for geolocation, you'll notice that the position information contains quite a bit of information including latitude, longitude, altitude, heading, and speed. Most implementations also return the accuracy of the location and altitude, but we'll be ignoring that for now. Since our map will show the current location, we will assume that the user won't start recording until the current location is correct, and so waiting for the accuracy to settle down is less important. If we were going to begin recording instantly, we would need to wait for the accuracy to narrow to an acceptable limit, and this is where those values become useful.
Go ahead and get out your paper and pencil, and we'll start working on our data model.