Access locations in My Places of a particular account through Google Maps API

大城市里の小女人 提交于 2019-12-29 06:27:32

问题


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?


回答1:


No one answers this question. I found how to do it after a few days of search.

  1. 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.
  2. Access google maps data with the access token at https://maps.google.com/maps/feeds/maps/default/full?access_token=xxx.


来源:https://stackoverflow.com/questions/11930287/access-locations-in-my-places-of-a-particular-account-through-google-maps-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!