Real time distance calculating

Dear,

I am trying to calculate the travelled distance in real time when the mobile device is moving. Any ideas about this topic?

Thanks in advance

There are topics already addressing this issue. You can Google calculate distance Thunkable to find some of them.