The Locator type exposes the following members.

Methods

  NameDescription
AddressToLocation
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.
GetAvailableFields
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.
GetRequiredFields
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.
LocationToAddress
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.

See Also