Bearbeiten

Freigeben über


CLGeocoder.GeocodeAddress Method

Definition

Overloads

GeocodeAddress(NSDictionary, CLGeocodeCompletionHandler)

Developers should not use this deprecated method. Developers should use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.

GeocodeAddress(String, CLGeocodeCompletionHandler)

Request a latitude/longitude location from a human readable address.

GeocodeAddress(String, CLRegion, CLGeocodeCompletionHandler)

Request a latitude/longitude location from a human readable address and region.

GeocodeAddress(String, CLRegion, NSLocale, CLGeocodeCompletionHandler)

GeocodeAddress(NSDictionary, CLGeocodeCompletionHandler)

Developers should not use this deprecated method. Developers should use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.

[Foundation.Export("geocodeAddressDictionary:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'GeocodeAddress (string, CLRegion, NSLocale, CLGeocodeCompletionHandler)' instead.")]
public virtual void GeocodeAddress (Foundation.NSDictionary addressDictionary, CoreLocation.CLGeocodeCompletionHandler completionHandler);
abstract member GeocodeAddress : Foundation.NSDictionary * CoreLocation.CLGeocodeCompletionHandler -> unit
override this.GeocodeAddress : Foundation.NSDictionary * CoreLocation.CLGeocodeCompletionHandler -> unit

Parameters

addressDictionary
NSDictionary

Addressbook dictionary to submit

completionHandler
CLGeocodeCompletionHandler

Method to invoke when the request completes.

Attributes

Applies to

GeocodeAddress(String, CLGeocodeCompletionHandler)

Request a latitude/longitude location from a human readable address.

[Foundation.Export("geocodeAddressString:completionHandler:")]
public virtual void GeocodeAddress (string addressString, CoreLocation.CLGeocodeCompletionHandler completionHandler);
abstract member GeocodeAddress : string * CoreLocation.CLGeocodeCompletionHandler -> unit
override this.GeocodeAddress : string * CoreLocation.CLGeocodeCompletionHandler -> unit

Parameters

addressString
String

Adress that you want to submit.

completionHandler
CLGeocodeCompletionHandler

Method to invoke when the request completes.

Attributes

Applies to

GeocodeAddress(String, CLRegion, CLGeocodeCompletionHandler)

Request a latitude/longitude location from a human readable address and region.

[Foundation.Export("geocodeAddressString:inRegion:completionHandler:")]
public virtual void GeocodeAddress (string addressString, CoreLocation.CLRegion region, CoreLocation.CLGeocodeCompletionHandler completionHandler);
abstract member GeocodeAddress : string * CoreLocation.CLRegion * CoreLocation.CLGeocodeCompletionHandler -> unit
override this.GeocodeAddress : string * CoreLocation.CLRegion * CoreLocation.CLGeocodeCompletionHandler -> unit

Parameters

addressString
String

Adress that you want to submit.

region
CLRegion

Region to limit the lookup for.

completionHandler
CLGeocodeCompletionHandler

Method to invoke when the request completes.

Attributes

Applies to

GeocodeAddress(String, CLRegion, NSLocale, CLGeocodeCompletionHandler)

[Foundation.Export("geocodeAddressString:inRegion:preferredLocale:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GeocodeAddress (string addressString, CoreLocation.CLRegion region, Foundation.NSLocale locale, CoreLocation.CLGeocodeCompletionHandler completionHandler);
abstract member GeocodeAddress : string * CoreLocation.CLRegion * Foundation.NSLocale * CoreLocation.CLGeocodeCompletionHandler -> unit
override this.GeocodeAddress : string * CoreLocation.CLRegion * Foundation.NSLocale * CoreLocation.CLGeocodeCompletionHandler -> unit

Parameters

addressString
String
region
CLRegion

To be added.

This parameter can be null.

locale
NSLocale

To be added.

This parameter can be null.

completionHandler
CLGeocodeCompletionHandler
Attributes

Applies to