Please turn on Camera > click settings icon in the upper right corner > turn on Location.
After taking a photo, you can view the photo in the album and click More > Details to view the location where the photo was taken.
Related Articles:
How to enable GPS accuracy in realme devices?