Geocode Result
A match candidate returned from a LocatorTask geocode or reverse geocode operation. GeocodeResult provides information about the candidate, such as a collection of requested attribute values, user-friendly label text, and locations suited for accurate match display or for routing input.
Since
200.1.0
Properties
A collection of attributes as requested by GeocodeParameters.resultAttributeNames or ReverseGeocodeParameters.resultAttributeNames. Available attributes depend on the data stored with the locator, and can include things like place name, URL, phone number, and so on.
Location of the candidate suitable for display on a map. For example, this may provide a more precise rooftop location of a house, whereas GeocodeResult.routeLocation represents the nearest street location.
The com.arcgismaps.geometry.Point provided as input to LocatorTask.reverseGeocode. Only applicable for results of reverse-geocode operations.
The nearest street location for the result. Use this location if you want to use the candidate as a stop in a route. For example, GeocodeResult.displayLocation may provide a more precise rooftop location of a house, whereas GeocodeResult.routeLocation will provide the nearest street location.