leaflet-control-geocoder
leaflet-control-geocoder copied to clipboard
[Feature] Standard control collapsed: boolean; to be closed on icon click
Hello,
I can see the control collapsed: boolean;
exists to set the search bar to collapsed/expanded by default.
However I was wondering if there is a way, or any tips, to collapse the bar when clicking the search icon?
I haven't found a way to collapse it manually when the control is set to False.
Thanks!
EDIT: I hadn't realized the icon also sends the request (same as ENTER), so it could be a small X button at the top-right of the bar.