Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed HTML5 Mobile Web Applications!
You have completed HTML5 Mobile Web Applications!
Preview
In this video we learn how to calculate the distance between two coordinates and how to use that to create a List View of all of our notes.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
The next thing we want to see is if our new collection can be sorted by the distance
0:00
from the current location to each notes location.
0:04
Now, this is going to be a tricky process, so let's do it in small steps.
0:09
The first thing I like to find out is to make sure that the comparator is
0:14
actually working properly based on the locate button, or just even at all.
0:18
So, I want to make sure that the comparator is working properly, that is,
0:24
it's refreshed when we hit the locate button.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up