Skip to content

Commit ea870b8

Browse files
authored
Search plugin: fix position argument (#1304)
Co-authored-by: jj benes <ephrem>
1 parent 8388c27 commit ea870b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

folium/plugins/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ class Search(MacroElement):
4949
{% endif %}
5050
collapsed: {{this.collapsed|tojson|safe}},
5151
textPlaceholder: '{{this.placeholder}}',
52+
position:'{{this.position}}',
5253
{% if this.geom_type == 'Point' %}
5354
initial: false,
5455
{% if this.search_zoom %}
5556
zoom: {{this.search_zoom}},
5657
{% endif %}
57-
position:'{{this.position}}',
5858
hideMarkerOnCollapse: true
5959
{% else %}
6060
marker: false,

0 commit comments

Comments
 (0)