leaflet-geosearch icon indicating copy to clipboard operation
leaflet-geosearch copied to clipboard

keepResult to false does not show markers properly

Open SalahAdDin opened this issue 2 years ago • 0 comments

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

SalahAdDin avatar Jun 18 '22 01:06 SalahAdDin