简体   繁体   English

如何将 Google 我的地图与 API 密钥集成?

[英]How to integrate Google My Maps with API key?

I have spent the past few months creating a custom map on google My Map. I'd like to now plug it to an API key to put it on my website as my website builder wont allow me to embed like you would probably do normally.在过去的几个月里,我在 google 我的 Map 上创建了一个自定义 map。我现在想将它插入一个 API 密钥以将其放在我的网站上,因为我的网站构建器不允许我像您通常那样嵌入。

I don't really understand API keys no matter how much I research them but in summary - Is it possible to import a Google My Map to be a associated with an API key so I can put the API key on my website to enable an interactive map?无论我研究多少,我都不太了解 API 密钥,但总而言之 - 是否可以导入 Google 我的 Map 与 API 密钥相关联,这样我就可以将 API 密钥放在我的网站上以启用交互式map?

I thought by signing up to get an API key I would be able to import my google my map to the maps platform map manager and therefore associate it with my API key, import the key to website and have an interactive map. From looking on the map manager on the maps platform, it will only allow you to choose one location or start a map from scratch and doesn't allow you to import spreadsheet data - unlike with google my maps.我想通过注册获得一个 API 密钥,我可以将我的谷歌我的map 导入地图平台 map 经理,因此将它与我的 API 密钥相关联,将密钥导入网站并具有交互式 map。从看地图平台上的 map 经理,它只允许您选择一个位置或从头开始 map 并且不允许您导入电子表格数据 - 与谷歌我的地图不同。

Can't find any answers anywhere so any help would be greatly appreciated在任何地方都找不到任何答案,因此将不胜感激任何帮助

Thanks in advance提前致谢

Found my answer at last on this thread: Google My Maps - API最后在这个线程上找到了我的答案: 谷歌我的地图 - API

It's a shame really I thought without a doubt you'd be able to link the two together.真的很遗憾我认为毫无疑问你可以将两者联系在一起。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM