Geocoding.GetPlacemarksAsync 方法

定义

重载

GetPlacemarksAsync(Location)

检索给定位置的地标。

GetPlacemarksAsync(Double, Double)

检索给定地址的位置。

GetPlacemarksAsync(Location)

检索给定位置的地标。

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Xamarin.Essentials.Placemark>> GetPlacemarksAsync (Xamarin.Essentials.Location location);

参数

location
Location

要查找其地标的位置。

返回

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Placemark>>

如果找不到任何地标,则为 null。

适用于

GetPlacemarksAsync(Double, Double)

检索给定地址的位置。

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Xamarin.Essentials.Placemark>> GetPlacemarksAsync (double latitude, double longitude);

参数

latitude
System.Double

位置的纬度。

longitude
System.Double

位置的经度。

返回

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Placemark>>

如果找不到任何地标,则为 null。

适用于