来自 Google Places Web 服务 API 的未使用照片内容是否需要 html_attributions?

Is html_attributions needed for unused photo content from Google Places Web Service API?

我正在开发一个 iOS 应用程序,该应用程序利用 Google 的网络服务 API。搜索地点时,每个结果都包含一个 "photos" 字段。此照片字段中有一个 "html_attributions" 字段。我在搜索有关它的信息时看到了这个"must be displayed",但是我没有看到任何条件。

我的问题是,如果我实际上不使用照片字段中的 photo_reference/height/width 字段,我是否仍需要向用户显示 html_attributions 字段,或者仅当内容在照片字段是 utilized/displayed?

我还没有看到 google 个地方使用 Web 服务的任何其他位置特定属性。还有什么我可能遗漏的吗?

感谢所有帮助!

photos 字段中的 html_attributions 仅适用于该照片,不适用于其余的搜索/详细信息响应。

Photo References 上的文档说(重点是我加的):

if the returned photo element includes a value in the html_attributions field, you will have to include the additional attribution in your application wherever you display the image.

此外,地点搜索响应和地点详细信息响应的文档还描述了响应根部的 html_attributionsphotos 中嵌入的不同。

所以是的,如果您不使用照片数据,则不必显示该数据的属性。