【发布时间】:2013-12-25 14:46:16
【问题描述】:
如何动态更改用于 Google Maps V3 的 Marker Clusterer Plus 中特定集群的图标?
标记似乎根本没有公开任何修改它们的方法。我需要做这样的事情(或类似的事情)。
google.maps.event.addListener(markerCluster, "mouseover", function (cluster) {
cluster.setIcon(hoverIcon);
});
google.maps.event.addListener(markerCluster, "mouseout", function (cluster) {
cluster.setIcon(normalIcon);
});
【问题讨论】:
-
“Marker Clusterer Plus”库的链接不起作用。可以提供链接吗?
-
好的。非常感谢!
标签: javascript google-maps-api-3 google-maps-markers markerclusterer