放置自动完成的Android |如何获取位置照片? [英] Place Autocomplete Android | How to get the Photo of location?

查看:70
本文介绍了放置自动完成的Android |如何获取位置照片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经实现了放置自动完成,但是它没有为我提供照片阵列.

I have implemented Place Autocomplete but it doesn't providing me the Photos array.

请帮帮我.建议真的很感激.非常感谢.

Please help me out. Suggestions really appreciated. Many Thanks in advance.

推荐答案

自动完成回复不包含照片,仅包含一些关键信息,例如名称和地点ID(地点详细信息请求自动完成回复中的地点ID.

Autocomplete responses don't include photos, just a handful of key information like name and Place ID (see the docs for the full set of fields). To get more detailed information like photos you need to make a Place Details Request using the Place ID from the Autocomplete response.

这篇关于放置自动完成的Android |如何获取位置照片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆