简体   繁体   English

markerClusterer:更新集群图标

[英]markerClusterer: Update cluster icon

I'm using markerClusterer: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/docs/reference.html 我正在使用markerClusterer: http : //google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/docs/reference.html

and my problem is this: 我的问题是:

The user, on the map can edit the icon of the markers. 用户在地图上可以编辑标记的图标。

So, I want that one marker's icon is changed, the cluster parent must recalculate the cluster icon. 因此,我希望更改一个标记的图标,群集父级必须重新计算群集图标。

Any ideas? 有任何想法吗? Thanks 谢谢

Resolved. 解决。

The .CALCULATOR() function is recalled every time you zoom in and zoom out the map, so is automagically resolved. 每次放大和缩小地图时都会调用.CALCULATOR()函数,因此可以自动解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM