Show / Hide Table of Contents

Method ReverseGeocodeAsync

ReverseGeocodeAsync(MapPoint)

Executes a reverse geocoding operation to find address candidates for a given location.

Declaration
public Task<IReadOnlyList<GeocodeResult>> ReverseGeocodeAsync(MapPoint location)
Parameters
Type Name Description
MapPoint location

The location for which to find address candidates.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<GeocodeResult>>

A task that represents the asynchronous reverse geocoding operation. The value of the task result contains a read-only collection of GeocodeResult objects.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
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.
Reverse geocode: Use an online service to find the address for a tapped point.

ReverseGeocodeAsync(MapPoint, CancellationToken)

Executes a reverse geocoding operation to find address candidates for a given location.

Declaration
public Task<IReadOnlyList<GeocodeResult>> ReverseGeocodeAsync(MapPoint location, CancellationToken cancellationToken)
Parameters
Type Name Description
MapPoint location

The location for which to find address candidates.

CancellationToken cancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<GeocodeResult>>

A task that represents the asynchronous reverse geocoding operation. The value of the task result contains a read-only collection of GeocodeResult objects.

Applies to

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

ReverseGeocodeAsync(MapPoint, ReverseGeocodeParameters)

Executes a reverse geocoding operation to find address candidates for a given location and set of search parameters.

Declaration
public Task<IReadOnlyList<GeocodeResult>> ReverseGeocodeAsync(MapPoint location, ReverseGeocodeParameters parameters)
Parameters
Type Name Description
MapPoint location

The location for which to find address candidates.

ReverseGeocodeParameters parameters

Additional search parameters to apply to the reverse geocoding operation.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<GeocodeResult>>

A task that represents the asynchronous reverse geocoding operation. The value of the task result contains a read-only collection of GeocodeResult objects.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
Relevant samples
Offline geocode: Geocode addresses to locations and reverse geocode locations to addresses offline.

ReverseGeocodeAsync(MapPoint, ReverseGeocodeParameters, CancellationToken)

Executes a reverse geocoding operation to find address candidates for a given location and set of search parameters.

Declaration
public Task<IReadOnlyList<GeocodeResult>> ReverseGeocodeAsync(MapPoint location, ReverseGeocodeParameters parameters, CancellationToken cancellationToken)
Parameters
Type Name Description
MapPoint location

The location for which to find address candidates.

ReverseGeocodeParameters parameters

Additional search parameters to apply to the reverse geocoding operation.

CancellationToken cancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<GeocodeResult>>

A task that represents the asynchronous reverse geocoding operation. The value of the task result contains a read-only collection of GeocodeResult objects.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.14
In This Article
Back to top Copyright © 2022 Esri.