leaflet-geosearch
leaflet-geosearch copied to clipboard
keepResult to false does not show markers properly
Continue working with this library to create a nice search input field, we got another problem: we require to clean the search input after resetting the field.
We tried to do this by setting keepResult: true,
but it have a trade back: it does not show the marker when selecting a result.
Why does this happen?
What should be a better way to clean the search input from out of the LeafLetGeoSearch
component?
Thank you