我用javascript制作了一个自定义的谷歌 Map :http://resortstudio.ch/kontakt/
我想直接从个人google-my-places-map添加(导入)许多标记 . 从类似于此示例的内容:http://goo.gl/maps/0uRg
换一种说法 . 我想将谷歌 Map 上保存的个人 Map 中的数据导入我的自定义样式 Map . 是否有一种简单的方法可以导入这些地方/标记,而无需将代码中的每个位置都写入我的自定义 Map ?
我用javascript制作了一个自定义的谷歌 Map :http://resortstudio.ch/kontakt/
我想直接从个人google-my-places-map添加(导入)许多标记 . 从类似于此示例的内容:http://goo.gl/maps/0uRg
换一种说法 . 我想将谷歌 Map 上保存的个人 Map 中的数据导入我的自定义样式 Map . 是否有一种简单的方法可以导入这些地方/标记,而无需将代码中的每个位置都写入我的自定义 Map ?
1 回答
您可以使用KmlLayer in the google maps API v3导入KML . 有一个KML version of that map available .
Here is an example that displays the example you provided using the API v3
您询问:
您可以从保存的 Map 中单击KML链接下载上述KML,请参见下图并注意最后一个链接(KML) .