CoreLocation.CLGeocoder.GeocodeAddressAsync Method
Request a latitude/longitude location from a human readable address and region.

Syntax

public virtual System.Threading.Tasks.Task<CLPlacemark[]> GeocodeAddressAsync (string addressString)

Parameters

addressString
Adress that you want to submit.

Returns

A task that represents the asynchronous GeocodeAddress operation. The value of the TResult parameter is a CoreLocation.CLGeocodeCompletionHandler.

Remarks

C# Example

  var addressString = "2 Park Plaza, Boston, MA, USA 02116";
  var geocoder = new CLGeocoder();
  var taskCoding = geocoder.GeocodeAddressAsync(addressString);
  taskCoding.ContinueWith((addresses) => {
  	foreach(var address in addresses.Result)
  	{
  		Console.WriteLine(address);
  	}
  });              
                

The GeocodeAddressAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Requirements

Namespace: CoreLocation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0