Skip to content

Commit adecf3c

Browse files
authored
Update features.py
1 parent e8831ee commit adecf3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

folium/features.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -757,16 +757,16 @@ class MarkerCluster(Layer):
757757
control : bool, default True
758758
Whether the Layer will be included in LayerControls
759759
icon_create_function : string, default None
760-
Override the default behaviour, making possible to customize markers colors and sizes
761-
760+
Override the default behaviour, making possible to customize markers colors and sizes
761+
762762
Example
763763
-------
764764
>>> icon_create_function = '''
765765
... function (cluster) {
766766
... var childCount = cluster.getChildCount();
767767
... var c = ' marker-cluster-small';
768-
... return new L.DivIcon({ html: '<div><span>' + childCount + '</span></div>',
769-
className: 'marker-cluster' + c,
768+
... return new L.DivIcon({ html: '<div><span>' + childCount + '</span></div>',
769+
className: 'marker-cluster' + c,
770770
iconSize: new L.Point(40, 40) });
771771
... }
772772
... '''

0 commit comments

Comments
 (0)