Custom iconCreateFunction the constructor
Custom iconCreateFunction the constructor

Possible to add a custom iconCreateFunction to the constructor.

Please see the example below :
icon_create_function = """
function (cluster) {
    var childCount = cluster.getChildCount();
    var c = ' marker-cluster-small';
    return new L.DivIcon({ html: '<div><span>' + childCount + '</span></div>', className: 'marker-cluster' + c, iconSize: new L.Point(40, 40) });
}
"""
ocefpaf/folium,ocefpaf/folium,python-visualization/folium,QuLogic/folium,python-visualization/folium,QuLogic/folium,QuLogic/folium