饼图在Google Maps上聚集[类似batchgeo]

编程入门 行业动态 更新时间:2024-10-26 06:38:15
本文介绍了饼图在Google Maps上聚集[类似batchgeo]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当动态饼图对标记进行分组/分组时,有人知道如何重做类似于 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]

本文发布于:2023-06-07 22:08:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/568648.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:类似   Google   Maps   batchgeo

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!