Skip to content
Snippets Groups Projects
Commit 7a304d54 authored by Peter J. Keleher's avatar Peter J. Keleher
Browse files

auto

parent 8f0243a4
No related branches found
No related tags found
No related merge requests found
...@@ -114,6 +114,8 @@ struct GPXTrack : Codable { ...@@ -114,6 +114,8 @@ struct GPXTrack : Codable {
- Your GPXDocument override both `contents()` and `load()`, and should - Your GPXDocument override both `contents()` and `load()`, and should
probably have a property that holds a reference to the current track. probably have a property that holds a reference to the current track.
[This](assign4Example.gpx436) is an example `GPXTrack` using the default JSON
serialization to put to a file (use a text editor to look at).
## Additional Task, and Extra Credit ## Additional Task, and Extra Credit
...@@ -130,7 +132,7 @@ out of 200 pts): ...@@ -130,7 +132,7 @@ out of 200 pts):
extension. Doesn't matter what you write. extension. Doesn't matter what you write.
- *Get your app to read and write real gpx files*. Your app should be - *Get your app to read and write real gpx files*. Your app should be
able to write read and write RideWithGPX files. Don't worry, look at able to write read and write RideWithGPX files. Don't worry, look at
[this file](bmwRS1200.gpx) and you will see the format is dirt simple (though [this file](assign4bmwRS1200.gpx) and you will see the format is dirt simple (though
there may be multiple `trkseg`s). there may be multiple `trkseg`s).
- *Show a pre-planned route*. Show the route (w/ a - *Show a pre-planned route*. Show the route (w/ a
different color) from another gpx file as you are recording a ride, so that the rider can different color) from another gpx file as you are recording a ride, so that the rider can
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment