如何在Google Map Infowindow上获取用户信息

问题描述:

大家好,

我正在尝试向我的Google地图添加交互式图标.我想要显示的是用户的名字和将用户重定向到另一个页面的超链接.它显示了图标窗口,但如何获取它以显示地图上每个图标的用户名?

Hi Everyone,

I am trying to add interactive icons to my google map. What I want it to show is a user''s first name and a hyperlink redirecting the user to another page. It shows the icon windows but how do I get it to it to display the user''s name for each icon on the map??

您可以访问Google Maps API指南 Google Maps API指南 [ ^ ].我希望您能从这里得到一些想法.
You can visit for Google Maps API Tutorial Google Maps API Tutorial[^]. I hope that you will get some ideas from here.