Google maps 谷歌地图群集图标文本变为蓝色
我在谷歌地图中使用以下样式实现了Markercluster。一切正常,但标记簇的文本在摆弄地图后变为蓝色。我希望文本是白色的Google maps 谷歌地图群集图标文本变为蓝色,google-maps,ionic-framework,markerclusterer,Google Maps,Ionic Framework,Markerclusterer,我在谷歌地图中使用以下样式实现了Markercluster。一切正常,但标记簇的文本在摆弄地图后变为蓝色。我希望文本是白色的 styles: [{ height: 53, url: markerIcons.clusterM1, width: 53, textColor: "white",
styles: [{
height: 53,
url: markerIcons.clusterM1,
width: 53,
textColor: "white",
textDecoration: "none"
},
{
height: 56,
url: markerIcons.clusterM2,
width: 56,
textColor: "white",
textDecoration: "none"
},
{
height: 66,
url: markerIcons.clusterM3,
width: 66,
textColor: "white",
textDecoration: "none"
},
{
height: 78,
url: markerIcons.clusterM4,
width: 78,
textColor: "white",
textDecoration: "none"
},
{
height: 90,
url: markerIcons.clusterM5,
width: 90,
textColor: "white",
textDecoration: "none"
}]
});
这是因为它的文本变成了超链接文本,这使得文本带有下划线和蓝色 可以扩展css对象以包含超链接样式吗
{
height: 78,
url: markerIcons.clusterM4,
width: 78,
textColor: "white",
textDecoration: "none",
a.register:link { color:#FFFFFF; text-decoration:none;},
a.register:visited { color: #FFFFFF; text-decoration:none;},
a.register:hover { color: #FFFFFF; text-decoration:underline; },
a.register:active { color: #FFFFFF; text-decoration:none; }
},
非常感谢,这就解决了问题。:)