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
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
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. |
System.Threading.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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
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
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
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. |
System.Threading.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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |