Skip to content

Commit cffe7ab

Browse files
authored
Update features.py
1 parent 72e9995 commit cffe7ab

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

folium/features.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,9 @@ def __init__(self, name=None, overlay=True, control=True, icon_create_function="
766766
self._template = Template(u"""
767767
{% macro script(this, kwargs) %}
768768
var {{this.get_name()}} = L.markerClusterGroup({
769-
{% if this._icon_create_function != "" %}iconCreateFunction: {{this._icon_create_function}}{% else %}{% endif %}
769+
{% if this._icon_create_function != "" %}
770+
iconCreateFunction: {{this._icon_create_function}}
771+
{% endif %}
770772
});
771773
{{this._parent.get_name()}}.addLayer({{this.get_name()}});
772774
{% endmacro %}

0 commit comments

Comments
 (0)