Google Maps requires the owner's permission to share the real-time location of his phone using the Location Sharing option. Simply open the Map on the target device, tap on the profile icon on the top right, and select Location Sharing. Next, tap Share location, select the time (from 15 minutes to 24 hours or Until you turn this off), and then select the contact, for example, your name (whom you want to share the location with).
The app will then share a location tracking link to your phone via a message. You can then click on the link to track the live location of the target device.