how can I insert the "multi-layer-search" search bar in the center of the map?
Also I have entered some polygons in the search and I don't know how to find the center of the polygon.
Can you help me?
Unacceptable Use
The following uses are strictly forbidden and will get you banned:
Auto-complete search This is not yet supported by Nominatim and you must not implement such a service on the client side using the API.
...
It seems to me that your repo violates Nominatim usage policy by providing client-side autocomplete using Nominatim API. I would propose using other public APIs like https://photon.komoot.io instead in order to stick with fair use.
Hello, and thank you for creating such a lovely tool! I am wondering if you might be willing to share an unminified version of autosuggest.js just to help with debugging? I have been experiencing some oddness with returns that I would like to get to the bottom of. All the best.
Thank you for providing the excellent search functionality. I have a question that requires your assistance.
Please visit the webpage http://route.capas.oome.net/sharecode/Leaflet.Autocomplete-master/docs/index.html. I have used the code from this repository and run the docs/index.html file, with only modifications script.js file onlines 8-14 of the , changing the data source from api to the built-in search.json file.
When I search for "gmina," all 10 results are listed in the list, with 3 of them not matched "gmina".
Since my own geojson file contains thousands of data entries, I do not wish to display all the items. Instead, I would like to display only the entries that match the search keyword, as shown in the image.
How should I modify the JavaScript code ?
now, the clearButton is displayed only when the value is supplied for the input over autocomplete. What is great for post add.
On post edit, the field comes already with the value and there is no clearButton. Can you add detection if the autocomplete field has default value so clearButton is displayed automatically?