Google IntensityMap 可视化美国各州
我正在尝试使用谷歌可视化库 - 强度图。我有一个州列表以及每个州的用户数量。我只能显示世界地图,我想突出显示美国各州,只显示地图。
http://code.google.com/apis/visualization/documentation/gallery /geomap.html
有人有关于如何执行此操作的好示例、教程或说明吗?
I am attempting to use the google visualization library - intensity map. I have a list of states and the number of users in each state. I can only get the world map to show, I want to highlight the us states and only show us map.
http://code.google.com/apis/visualization/documentation/gallery/geomap.html
Does anyone have a good example, tutorial or instructions on how to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
事实证明这非常容易。只需要找出区域名称“美国”。
希望这有帮助,请告诉我它是否适合您。这不是完整的代码片段,但应该足以理解这个想法。如果您需要更多具体信息,请告诉我。
This turned out to be very easy. Just need to figure out the region name 'usa'.
Hope this helps, let me know if it works for you. This is not the full code snippet but should be enough to get the idea. Let me know if you need more specifics.
谷歌目前似乎还没有共享该功能。虽然已经几个月了,但是 Google Chart API 群组上的这条回复 似乎扼杀了这个想法。我正在寻找相同的功能,但我发现的最接近的是 Maps Alive (无隶属关系)。然而,他们的 API 似乎更有限,而且价格上涨得很快。祝你好运!
It looks like Google isn't sharing that capability right now. It's a few months old, but this reply on the Google Chart API group seems to kill the idea. I'm looking for the same functionality, but the closest I've found is Maps Alive (no affiliation). However, their API seems more limited and the pricing adds up quickly. Best of luck!