The Locator type exposes the following members.
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.
Sends a callback request to get the available fields for an Geocode service. The result of this operation is an object passed to callback containing the available addressFields, candidateFields and intersectionCandidateField JSON objects.
Sends a callback request to get the required fields for an AddressToLocation operation. The result of this operation is an string array passed to callback containing the names of the fields required by the Geocode Server.
Finds the closest address to the input geometry location. This is known as a reverse geocode operation. The result of this operation is an AddressCandidate object passed to callback function.
Function that will process the results returned by the AddressToLocation request.
Function that will process the results returned by the LocationToAddress request.
Authentication token to be used in the task's requests to a secured ArcGIS service.
URL of the ArcGIS Server Locator (Geocode) service exposed as a REST resource that will receive locator request.