Google 地图 API - 获取我的自定义地图
我在 Google API 中搜索了一种下载地图的方法 (google.com/mymaps).通过下载地图,我的意思是 POI.除了谷歌地图引擎api,我什么也没找到,但有两个问题:
I was searching in Google APIs a way to download my map (google.com/mymaps). By downloading a map I mean POIs. I found nothing except the Google mapsengine api, but there are 2 problems:
- 我的地图的地图 ID 不适合 mapsengine api - https://developers.google.com/maps-engine/documentation/reference/v1/maps/getPublished 返回 404
- 在地图引擎中创建地图并不像在我的地图中那样容易.
问题是我的客户想要一个显示他之前创建的地图的 Android 应用程序.他想使用谷歌我的地图创建它.
The problem is my client wants an Android App that shows map he created before. And he wants to create it using google my maps.
问题是否有任何 API 允许我下载该数据?或者如果没有 - 获取该地图的最佳方法是什么?我想到的唯一想法是下载地图 KML 文件,但如果可能的话,我更喜欢使用 REST api.
Question is there any API that allows me to download that data? Or if there is not - what is the best way to fetch that map? The only idea that comes to my mind is to download map KML file, but I'd prefer to use REST api if possible.
目前没有适用于 Google MyMaps 的 API.如果您愿意,请对此功能请求投票看到它发生.
There is no API for Google MyMaps at this time. Vote up this feature request if you want to see it happen.