通过API在Google照片中查询照片时,它不会返回与图像相关联的任何位置数据。当我在Google照片中查看有关该图像的信息时,可以在地图上看到该位置,但是该API并不提供这些坐标。
[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
(
)
)
)