Finds the map location of an input address by sending a callback request to the Locator service. The result of this operation is an array of AddressCandidate objects passed to callback function.Namespace: ESRI.ArcGIS.VE
function AddressToLocation( address : , callback : , outFields : )
Object containing properties which correspond to the various address fields accepted by the geocode service.
The function that will handle the callback response. This function must take one argument, which will be an array of AddressCandidate objects.
Array of names of out fields to be returned in response. Optional. If not used, the value of the Attributes property in the response will be null.
For an example of using AddressToLocation, please see the example Use my ArcGIS Geocode Server under Find addresses in the Interactive SDK.