I just wanted to add to user27723208's answer (don't have enough rep to just comment) that on my S20, I had to go to Settings > Location > Location Services > Timeline and then had the export (and other options)