Task: In the Settings app, under the Location option, turn on device location and give permission to the Maps app to access the device's location.
Steps:
Go back to the previous page
Click on the Location option
Click on the toggle button to turn on location
Click on the App location permissions
Scroll down to view the Maps app
Click on Maps option
Select the option Allow all the time
Go back to the previous page