Show / Hide Table of Contents

Class GeocodeResult

Describes a match candidate returned from a LocatorTask geocode or reverse geocode operation.

Inheritance
Object
GeocodeResult
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
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

TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14

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.
In This Article
Back to top Copyright © 2021 Esri.