Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

I would like to make a page in my app where the user may press a button and begin recording a bike ride.

They should be able to:

  • View their location at any given time on the map component

  • View their data in real time as they ride, such as elapsed distance and current speed

  • Press another button to cease the recording

  • View the summary of all of the data at the end which includes average speed over the recorded time, the time elapsed, the distance traveled, and the route which they traveled on a map
    -Share the summary of data via social network

    Are all of these things possible? Thanks for your amazing help, I couldn't get anything done without you!

    The project should be shared with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Journey Recording using GPS Tracking

Hi Joe,

Appery.io Geolocation service provides current coordinates only. You would need to store somewhere (for example, in localStorage or Database) coordinates and time they were got. Use JavaScript to calculate time, distance, speed and average speed.
Here you can read how to find distance: http://en.wikipedia.org/wiki/Great-ci...
Grahp API is for creating posts on Facebook: http://developers.facebook.com/docs/r...

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

Wow Katya,

That Wikipedia link looks like a completely foreign language to me. I'm not sure that I'm able to write out all of those formulas. For some reason, I thought it might be easier. But I suppose localStorage would be preferable, if I could even accomplish this. Any possibility you could walk me through it when you get a chance?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Journey Recording using GPS Tracking

We are here to help. We'll find out how to do this.

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

I can't thank you enough!

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

Any luck this monday?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Journey Recording using GPS Tracking

Hi, not yet, sorry. I'll update after I get any information.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Journey Recording using GPS Tracking

Hi Joe,

Let's try to do it together. Did you start this?
Where did you stop? What are the exact problems with JavaScript?
Did you try this tutorial? http://docs.appery.io/tutorials/build...

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Journey Recording using GPS Tracking

As far as I've gotten is this "recordride" page in my project:
Image
How do I go from here?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Journey Recording using GPS Tracking

Joe,

We would need some time to think about it.

Return to “Issues”