stepav

REST-like Suggest method in API -or- What does Geocoder widget call to auto-complet?

Discussion created by stepav on Apr 22, 2014
Latest reply on Apr 22, 2014 by stepav
Hi,

I'm new to developing in ArcGIS / ESRI. But, I've used the REST service at http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer with suggest?text= to develop a Windows app that shows up to 5 address candidates at a time as a user types more of the address like the Geocoder widget.

But I can't find a JavaScript API method to do the same thing. But I see the Geocoder widget has the same functionality, but I'd like to do what it does but in my own code. What method does it call behind the scenes?

Does anyone know how it can be done? A simple example in code would be really helpful!

Thanks in advance!

Outcomes