当动态饼图对标记进行分组/分组时,有人知道如何重做类似于 Batchgeo 的东西吗?
Anybody knows how to remake something similar to what Batchgeo does when clusters/groups markers with dynamic pie charts?
示例:带有饼图聚类的批处理地图
谢谢
致谢
推荐答案我没有为您准备的完整方法,但是确实有一些指针可能对您有所帮助,并且似乎已被BatchGeo使用.
I don't have a full how to for you, but do have some pointers which might help you and appear to be used by BatchGeo.
我将研究Google地图上的集群示例: developers.google/maps/articles/toomanymarkers
I would study the cluster example on Google maps: developers.google/maps/articles/toomanymarkers
涵盖了相当不错的群集...然后,您需要查看将标记图像更改为对Google Charts的调用: developers.google/chart/image/docs/gallery/pie_charts
Which covers clustering pretty well... then you would need to look at changing the marker image to a call to Google Charts: developers.google/chart/image/docs/gallery/pie_charts
注意:此方法已弃用,并将在2015年取消支持...但是我相信BatchGeo会使用它.
这里还有一个示例,可能会帮助您使用自定义群集标记图像,但我无法发布该图像(仅限于2个链接)(例如设置为心",人"等)群集样式).如果您使用的是Google"Google Map v3群集示例",则应该在顶部结果中找到它.
There is also an example here that might help get you on your way with the custom cluster marker images, which I can't post (as limited to 2 links) (such as the Hearts, People etc... set in CLUSTER STYLE). If you Google 'google map v3 cluster example' you should find it in the top results.
如果把所有这些放在一起,那么我认为你应该到达那里.
If you put all that together then I think you should get there.
此致
詹姆斯
更多推荐
饼图在Google Maps上聚集[类似batchgeo]
发布评论