The photos top feature can be found in /data/com.google.android.apps.maps/databases/ugc_photos_location_data.db. This database will document the date/time of pictures/videos taken with camera on the device.
Table of Interest:
photos_top_feature
The timestamps are stored as Unix Epoch timestamps, and you will uncover latitude and longitudes for the multimedia files. Values in column “photo_uri” refer to column “_id” in “files” table of external.db. This database was not present on Samsung running Android 11 and may not exist on Android 12 devices.