Closed mkden closed 3 years ago
Are you asking how to change where the search form is located on the webpage? Or are you asking something different?
yes and add one more search field instead of one there should be two! two fields input autocomplete
???????????????????????????????
I'm still trying to understand your goal. From the graphic, it appears you want the search control UI to not be located on the map? And that you want to be able to search multiple fields within a feature service?
Here is a sample map that does both: https://gis.ccpa.net/sld/activity/.
I'm just trying to better understand your goals to help identify a solution.
@pmacMaps thanks for jumping in and helping!
@mkden hope this info helps you out.
But from what I can see you need the autocomplete library with geocoding capability :) Take a look at my example
You can adapt it to your own needs.
Hej dziekuje @tomik23 for sharing your own leaflet examples site. Nice community resource for folks using LeafletJS in different ways.
@mkden, as @pmacMaps noted you can use the esri-leaflet-geocoder
to accommodate your goals by putting multiple instances of it in another container element outside of the map.
But from what I can see you need the autocomplete library with geocoding capability :) Take a look at my example
You can adapt it to your own needs.
you showed me an example on https://nominatim.openstreetmap.org and I asked https://geocode.arcgis.com
how to do like this? please, help.