@@ -753,6 +753,8 @@ class CircleMarker(Marker):
753753 use Circle.
754754 color: str, default 'black'
755755 The color of the marker's edge in a HTML-compatible format.
756+ weight: int, default 2
757+ Stroke weight in pixels
756758 fill_color: str, default 'black'
757759 The fill color of the marker in a HTML-compatible format.
758760 fill_opacity: float, default 0.6
@@ -762,11 +764,13 @@ class CircleMarker(Marker):
762764
763765 """
764766 def __init__ (self , location , radius = 500 , color = 'black' ,
765- fill_color = 'black' , fill_opacity = 0.6 , popup = None ):
767+ weight = 2 , fill_color = 'black' , fill_opacity = 0.6 ,
768+ popup = None ):
766769 super (CircleMarker , self ).__init__ (location , popup = popup )
767770 self ._name = 'CircleMarker'
768771 self .radius = radius
769772 self .color = color
773+ self .weight = weight
770774 self .fill_color = fill_color
771775 self .fill_opacity = fill_opacity
772776
@@ -777,6 +781,7 @@ def __init__(self, location, radius=500, color='black',
777781 [{{this.location[0]}},{{this.location[1]}}],
778782 {
779783 color: '{{ this.color }}',
784+ weight: '{{ this.weight }}',
780785 fillColor: '{{ this.fill_color }}',
781786 fillOpacity: {{ this.fill_opacity }}
782787 }
0 commit comments