使用MarkerCluster的自定义图像

时间:2017-07-28 19:30:53

标签: google-maps-api-3

我有一个特定的图像,我想用于MarkerCluster图标:

var markerCluster = new MarkerClusterer(map,markers,{     imagePath:'https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m',   });

简单地用我的图像路径替换网址不起作用..它只显示放大时将显示的标记数量。如何使用自定义图像?

0 个答案:

没有答案