Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用库 react-google-maps react-google-maps
如何从集群中删除标签?我不想显示内部标记的数量
根据MarkerClusterer的 Google Doc,以下样式可用
否则您可以删除带有text-indent: 100%样式属性的标签。
text-indent: 100%
还有一种方法被调用setStyles,但它只支持上述样式。
setStyles
文档链接:文档