Hi Joe, unfortunately not yet. It might take some time...
Hi Joe, unfortunately not yet. It might take some time...
I look forward to it! After this page is done, all I need do is give the user the ability to share the data. What would be the best way to do this?
Once the "recordride" page is done, my only concerns would be the custom marker, and perhaps a "weather at location" button on the "weather" page. Aside from that, I'm confident that this app is complete, and ready for beta testing.
Any progress so far?
Hi Joe - we are still working on your problem.
Please check names of components in "pedal collective" app.
For example.
1) On page "recordride" component map has name "googlemap2", but in programm you use: map = Tiggzi("map").gmap;
Thus name of the component should be "map" or you should change it in your JS file: map = Tiggzi("googlemap2").gmap;
2) Name of the geolocation service on page "recordride" is "geolocation2", but in JS it's name "geolocation1". Just rename this service to "geolocation1".
Could you please clarify what data you want to share (first and last point, average speed...). And with whom the user will share his data (with other app users or send data to facebook or twitter)
Thanks Oleg! I suppose I was thinking, in hindsight, that the services needed different names? Not really sure.
As for sharing capabilities, I'm not exactly sure how I would share it with other users. The company I host my website with requires a more extensive plan to manipulate their API, which I may acquire later, but not at this time. Ideally it would be shared on Facebook and Twitter.
The average speed, time, and distance are working fine. Yet I would prefer the distance and average speed to be in miles, not kilometers. (America is stubborn about their weird non-metric units.) I would like it to monitor elevation as well in one of the labels.
Ideally, it would render the average speed and elevation data over the entire ride into line graphs, with the x axis being time elapsed over the ride. That way, the user could see the elevation they climbed, and the speed they kept throughout the ride. (If this is overly complex, I understand.) If not graphs, the user should at least be able to share total distance of the ride, time elapsed, and average speed.
Once the user decided to complete their ride, would they be able to share the route traveled during the ride?
Also I see the custom marker working on the "recordride" page, but how could I get it to work on the "map" page?
As always, thanks so much!
I'll test this and update.
Any new information so far?
1) "I was thinking, in hindsight, that the services needed different names" - yes. If you already have another service with such name you need to change service name back and change it in JS code.
2) "shared on Facebook and Twitter"
see
http://docs.appery.io/tutorials/using...
http://docs.appery.io/tutorials/build...
3) "Yet I would prefer the distance and average speed to be in miles, not kilometers" - just set Rk = 3961.3 in function findDistance and all calculated data will be in miles
4) "average speed and elevation data over the entire ride into line graphs" - you have all data stored in localStorage coordsArray so you can draw any graph. see http://www.jqplot.com/
5) "share the route traveled during the ride" - you have all data (coordinates and time) stored in localStorage coordsArray so you can share it
Thanks Oleg! I've changed the units from kilometers to miles.
I suppose it makes sense to program the jql plot first, then worry about the facebook/twitter sharing.
So how would I go about using the plugin? Am I able to go to "Create New" -"Plugin"? Or do I have to download all the files from the bitBucket and include script from them in my javascript folder? And if so which ones? Should they be in a separate javascript document?
Or can I just simply add some code? I'm not very good at writing javascript from scratch at all (as you might be able to tell.)
So what would the code need to be? And how would I call upon the data in localStorage to render the data in regular line graphs? How would I get altitude data to be displayed in the "altitude" label, and would it be stored as well?
Honestly I basically need a step-by-step guide (sorry, but that's why I'm using Appery, I couldn't code it without your help!)