AlwaysLearning AlwaysLearning - 1 year ago 158
CSS Question

Font color google maps marker clusterer

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);

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download