Select to view content in your preferred language

ArcGIS JS Widget Search

405
3
02-16-2023 03:27 AM
Wade
by
Occasional Contributor

Can this tool query the address directly without using its UI interface to get its relevant information?

0 Kudos
3 Replies
Sage_Wall
Esri Contributor

Hi @Wade , you can use the SearchViewModel, it provides the logic to the search widget.  Another option would be to query the service directly.

Wade
by
Occasional Contributor

Hi @Sage_Wall 

Because sometimes there are many addresses, To do the positioning function, So I want to do it with this widget, See if you can query the XY coordinates of all addresses at once.

0 Kudos
Noah-Sager
Esri Regular Contributor

@Wade, are you trying to do like batch geocoding? Or what is the purpose for not having the Search widget UI for searching on many addresses?

0 Kudos