通过Google Maps API访问特定帐户的“我的地点”中的地点信息
问题描述:
Google地图允许用户在我的地点中添加和分组地点。我想以编程方式访问用户的我的地点中的地点信息,而不是手动下载KML文件。我做了一些搜索,但找不到很多有用的文档或有关此主题的讨论。显然这是可能的,因为这个iOS应用程序似乎能够访问它。问题是Google Maps API或网络服务可以提供这些信息吗?
The Google Maps allow a user to add and group places in My Places. I would like to access the locations in a user's My Places programmatically instead of manually download the KML file. I did some search but could not find much helpful documentation or discussion on this topic. Apparently this is possible because this iOS app seems to be able to access it. The question is what Google Maps API or web services can provide this information?
答
没有人回答这个问题。
No one answers this question. I found how to do it after a few days of search.
- 使用google客户端登录获取范围 https://maps.google.com/maps/feeds/ 。搜索使用OAuth 2.0进行客户端应用程序的文档化。
- 使用 https://maps.google.com/maps/feeds/maps/default/full?access_token=xxx 。
- Use google client login to get access_token for scope https://maps.google.com/maps/feeds/. Search Using OAuth 2.0 for Client-side Applications for documentation.
- Access google maps data with the access token at https://maps.google.com/maps/feeds/maps/default/full?access_token=xxx.