markerclustererplus
markerclustererplus copied to clipboard
Cluster Styles Images / Icons
I have some markers in a area and change the amount to hundreds and thousands but whatever I do only the first icons are used.
m1.png and m2.png
If I am using a custom style the same. How can I render all 5 icons?
Did I miss something?
var clusterStyles = [
{
textColor: 'black',
url: 'icons/m1.png',
height: 61,
width: 61,
textSize: 14,
fontFamily: "Drois Sans, Arial, sans-serif"
},
{
textColor: 'black',
url: 'icons/m2.png',
height: 71,
width: 71,
textSize: 14,
fontFamily: "Drois Sans, Arial, sans-serif"
},
{
textColor: 'black',
url: 'icons/m3.png',
height:87,
width: 87,
textSize: 14,
fontFamily: "Drois Sans, Arial, sans-serif"
},
{
textColor: 'black',
url: 'icons/m4.png',
height:107,
width: 107,
textSize: 14,
fontFamily: "Drois Sans, Arial, sans-serif"
},
{
textColor: 'black',
url: 'icons/m5.png',
height:149,
width: 149,
textSize: 14,
fontFamily: "Drois Sans, Arial, sans-serif"
}
];