We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ccf239 commit c9cca84Copy full SHA for c9cca84
1 file changed
folium/plugins/time_slider_choropleth.py
@@ -107,7 +107,12 @@ class TimeSliderChoropleth(Layer):
107
).addTo({{ this._parent.get_name() }});
108
109
{{ this.get_name() }}.setStyle(function(feature) {
110
- feature.properties.style;
+ if (feature.properties.style !== undefined){
111
+ return feature.properties.style;
112
+ }
113
+ else{
114
+ return "";
115
116
});
117
118
{{ this.get_name() }}.eachLayer(function (layer) {
0 commit comments