This article explains how to view your location history using data collected by Google Maps and your iPhone's Location Services. Directions is compatible with iOS 12 and later.
How to Check Your Location History on iPhone
If you have Google Maps installed on your phone and Location Services enabled for the app, you can easily view your location history using Timeline:
Open Google Maps and tap your profile picture.
Select Your Timeline from the menu.