Class GeocodeResult
Describes a match candidate returned from a LocatorTask geocode or reverse geocode operation.
Inheritance
System.Object
GeocodeResult
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Tasks.Geocoding
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GeocodeResult
Remarks
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.
Properties
Name | Description |
---|---|
Attributes | Gets a collection of attributes as requested by ResultAttributeNames or ResultAttributeNames. |
DisplayLocation | Gets the location of the candidate suitable for display on a map. |
Extent | Gets an extent suitable for zooming the map to display the candidate. |
InputLocation | Gets the MapPoint used to ReverseGeocodeAsync(MapPoint). |
Label | Gets the user-friendly text that describes this result. |
RouteLocation | Gets nearest street location for the result. |
Score | Gets a value that indicates how well the address was matched. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Find address: Find the location for an address.
Find place: Find places of interest near a location or within a specific area.
Mobile map (search and route): Display maps and use locators to enable search and routing offline using a Mobile Map Package.
Offline geocode: Geocode addresses to locations and reverse geocode locations to addresses offline.
Reverse geocode: Use an online service to find the address for a tapped point.