Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
74
rated 0 times [  76] [ 2]  / answers: 1 / hits: 28532  / 11 Years ago, wed, august 28, 2013, 12:00:00

Could anybody please tell me how to change the font color of a markerclusterer marker. This is my current code for styling the marker



mcOptions = {styles: [{
height: 27,
url: image.png,
width: 35
}],
maxZoom: 8
}

var markerCluster = new MarkerClusterer(map, markers, mcOptions);

More From » css

 Answers
1

You can check this Documentation for Marker Clusterer under class ClusterIconStyle



There is an option named textColor which sets the color of the label text shown on the cluster icon.


[#76076] Tuesday, August 27, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jarettajb

Total Points: 678
Total Questions: 94
Total Answers: 90

Location: Guernsey
Member since Tue, Jul 6, 2021
3 Years ago
;