One feature that is often required in web mapping applications is the ability to search for a street address or place name and have that turned into geographic coordinates that can be highlighted on the map, or manipulated in some other way. This process of turning addresses into points is called geocoding. Sometimes, users want to be able to click a map location and have your application tell them which physical address that location relates to. This is known as reverse geocoding.
Geocoding is accomplished in ArcGIS Server through the use of locator services which are consumed in the ArcGIS Server JavaScript API through the Locator
class. As with the other tasks provided by ArcGIS Server, geocoding requires various input parameters, including an Address
object for address matching or a Point
object in the case of reverse geocoding. This information is then submitted to the locator service. If there is a match, the service...