How to view a device's location history
see location history of a device
see location history of a device
If you mean a dotted line showing your recent travels, there isn't one. There is a history but it is private, even from you and Apple.
From: Legal - Location Services & Privacy- Apple
"Significant Locations: Your iPhone and iCloud-connected devices will keep track of places you have recently been, as well as how often and when you visited them, in order to learn places that are significant to you. This data is end-to-end encrypted and cannot be read by Apple. It is used to provide you with personalized services, such as predictive traffic routing, and to build better Memories in Photos."
"Location Services uses GPS and Bluetooth (where those are available) along with crowd-sourced Wi-Fi hotspot and cell tower locations to determine your device’s approximate location."
"If Location Services is on, your iPhone will periodically send the geo-tagged locations of nearby Wi-Fi hotspots and cell towers (where supported by a device) in an anonymous and encrypted form to Apple, to be used for augmenting this crowd-sourced database of Wi-Fi hotspot and cell tower locations."
Find location history older than 24 hours - Apple Community
How to view a device's location history