How can I create custom trips via Google Maps API in Rails and then store them? -


i'm making web application in rails 4 going allow users create trips. these trips going built dynamically using google maps api based upon user input. ie, users can create different waypoints , locations visited. want users able add waypoints , descriptions particular stops.

but want these locations stored there's search function users can search different regions such around particular address or state.

i'm not looking overly specific here, want idea of how set up.

what i've thought of far users create trips have many waypoints in turn models. i'm not sure ideal however.

thoughts? link post might have missed helpful. thanks.

edit: in case runs across problem in future. went google map's directions api. lets pass in waypoints array of objects. used javascript add waypoints necessary , allowed user submit how map looked. then, if liked it, submitted trip form logged input values db attributes trip object.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -