Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google maps 谷歌地图群集图标文本变为蓝色_Google Maps_Ionic Framework_Markerclusterer - Fatal编程技术网

Google maps 谷歌地图群集图标文本变为蓝色

Google maps 谷歌地图群集图标文本变为蓝色,google-maps,ionic-framework,markerclusterer,Google Maps,Ionic Framework,Markerclusterer,我在谷歌地图中使用以下样式实现了Markercluster。一切正常,但标记簇的文本在摆弄地图后变为蓝色。我希望文本是白色的 styles: [{ height: 53, url: markerIcons.clusterM1, width: 53, textColor: "white",

我在谷歌地图中使用以下样式实现了Markercluster。一切正常,但标记簇的文本在摆弄地图后变为蓝色。我希望文本是白色的

  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; }
            },

非常感谢,这就解决了问题。:)