If you have the Record Routes option enabled in the application settings, the route of the trip will be recorded for you. Your routes can be viewed by swiping left on the trip and then tapping "View Route".
Each individual trip route can be exported out as a GPX file.