I am rather new to Rails and I have an idea of how I want a part of my mapping application to work. In my view, I make a directions request to google maps and it returns a DirectionsRoute object, with an attribute inside called overview_path.
After this happens, I would like to use the google utility class RouteBoxer to create a 10 mile wide corridor around the route. I then need to do a bounding box query against the LatLng points in my MySQL database and then make another directions request to google maps with one of these LatLng points as a waypoint in the route.
Thanks in advance for reading this and any input you can provide!