When I query a photo in Google photos via the API, it doesn't return any location data that is associated with the image. I can see the location on the map when I view the information about the image in Google Photos, however the API doesn't give me these coordinates.
[mediaMetadata] => Google_Service_PhotosLibrary_MediaMetadata Object
(
[creationTime] => 2018-07-13T13:20:38Z
[height] => 4032
[photoType:protected] => Google_Service_PhotosLibrary_Photo
[photoDataType:protected] =>
[videoType:protected] => Google_Service_PhotosLibrary_Video
[videoDataType:protected] =>
[width] => 3024
[internal_gapi_mappings:protected] => Array
(
)
[modelData:protected] => Array
(
)
[processed:protected] => Array
(
)
[photo] => Google_Service_PhotosLibrary_Photo Object
(
[apertureFNumber] => 1.8
[cameraMake] => Apple
[cameraModel] => iPhone 8
[exposureTime] =>
[focalLength] => 3.99
[isoEquivalent] => 50
[internal_gapi_mappings:protected] => Array
(
)
[modelData:protected] => Array
(
)
[processed:protected] => Array
(
)
)
)