如何隐藏 Google 地图中集群标记上的数字?

cod*_*ama 0 google-maps google-maps-markers

所以我有这个:

在此输入图像描述

但我想要的是这样的:

在此输入图像描述

我很确定应该有一个我可以在这里指定的选项:

var options = {
    gridSize: 80,
    imagePath: imagePath ,
    someOption : iAmMissing ??
}
var mc = new MarkerClusterer(map, mapmarkers, options);
google.maps.event.addListener(mc, 'clusteringend', function(){
    setTimeout(fixMyPageOnce, 1);
});
Run Code Online (Sandbox Code Playgroud)

但我似乎找不到选择。这是正确的地方还是有其他方法可以去掉圆圈中的数字?

Ste*_*fan 5

只需设置textColortransparent

var options = {
    textColor: 'transparent',
    gridSize: 80,
    imagePath: imagePath ,
    someOption : iAmMissing ??
}
Run Code Online (Sandbox Code Playgroud)