LinkedIn 群组和 Google 地图集成
有人见过使用 LinkedIn 群组信息实现 Google 地图的吗?
具体来说,我想将组内成员的位置绘制为 Google 地图上的图钉。
任何帮助或指导都会很棒。
Has anyone seen an implementation of Google Maps using LinkedIn group information?
Specifically I would like to plot the location of members within a group as pins on a Google Map.
Any help or guidance would be great.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
根据 LinkedIn Developer API,对用户个人资料的请求将返回
:然后应该能够地理编码到纬度/经度点。
这实际上取决于您是否可以获得群组中人员的列表。显然,群组 API 还没有太多支持。
According to the LinkedIn Developer API, a request to a users profile will return:
Which you should then be able to Geocode into the Lat/Long points.
It all really depends on whether you can get a list of people in a group. Apparently there's not much support for groups API yet.
如果您能够获取 LinkedIn 群组成员的位置,则可以使用 Google 地图 HTTP 地理编码 API 如下:
简单 CSV:
更复杂的 XML:
只需更改带有地址的“q”参数即可。
您将通过地理编码收到每个地址的纬度和经度。然后只需通过 JavaScript 将标记放在浏览器中的地图上即可:
If you are able to get the location of your LinkedIn group members, you can geocode their addresses with the Google Maps HTTP Geocoding API as follows:
Simple CSV:
More Complex XML:
Simply change the "q" parameter with the address.
You will receive the Latitude and Longitude of each address through geocoding. Then it is simply a matter of putting the markers on the map in the browser through JavaScript:
我已经看到了 LinkedIn API 的 Qlikview(个人版免费)实现,请参阅此博客了解更多信息:http://www.qvsource.com/wiki/LinkedIn-Connector.ashx#Demo_Application_3
I've seen a Qlikview (personal edition is free) implementation of the LinkedIn API's, see more on this blog: http://www.qvsource.com/wiki/LinkedIn-Connector.ashx#Demo_Application_3