Search plugin: fix position argument
@@ -49,12 +49,12 @@ class Search(MacroElement):
{% endif %}
collapsed: {{this.collapsed|tojson|safe}},
textPlaceholder: '{{this.placeholder}}',
+ position:'{{this.position}}',
{% if this.geom_type == 'Point' %}
initial: false,
{% if this.search_zoom %}
zoom: {{this.search_zoom}},
{% endif %}
- position:'{{this.position}}',
hideMarkerOnCollapse: true
{% else %}
marker: false,
