Best way to map travelled path for Running App

Hi. My company is building a running app, kinda like Strava and Nike Run Club app. One of the feature in the app is user can view map path of their run, with time and distance travelled/ran.

My idea of building this feature is to save latitude and longitude every 10 or 20 seconds using Bubble workflow, and then plot Maps and do calculation of distance travellers using these data.

Is this something feasible or there are much better way in achieving this feature?

I believe there is a Google maps extended plugin that could be useful