Skip to content

Commit 0fc4704

Browse files
committed
int not string
1 parent 7430e1a commit 0fc4704

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

folium/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ def __init__(self, location, radius=500, color='black',
781781
[{{this.location[0]}},{{this.location[1]}}],
782782
{
783783
color: '{{ this.color }}',
784-
weight: '{{ this.weight }}',
784+
weight: {{ this.weight }},
785785
fillColor: '{{ this.fill_color }}',
786786
fillOpacity: {{ this.fill_opacity }}
787787
}

folium/templates/circle_marker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var {{ circle }} = L.circleMarker([{{ lat }}, {{ lon }}], {
22
color: '{{ line_color }}',
33
fillColor: '{{ fill_color }}',
4-
weight: '{{ weight }}',
4+
weight: {{ weight }},
55
fillOpacity: {{ fill_opacity }}
66
}).setRadius({{ radius }})

0 commit comments

Comments
 (0)