Geocoding.GetPlacemarksAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetPlacemarksAsync(Location) |
Retrieve placemarks for a given location. |
GetPlacemarksAsync(Double, Double) |
Retrieve location for a given address. |
GetPlacemarksAsync(Location)
Retrieve placemarks for a given location.
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Xamarin.Essentials.Placemark>> GetPlacemarksAsync (Xamarin.Essentials.Location location);
Parameters
- location
- Location
Location to find placemarks for.
Returns
List of placemarks or null if no placemarks are found.
Applies to
GetPlacemarksAsync(Double, Double)
Retrieve location for a given address.
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Xamarin.Essentials.Placemark>> GetPlacemarksAsync (double latitude, double longitude);
Parameters
- latitude
- System.Double
Latitude of the location.
- longitude
- System.Double
Longitude of the location.
Returns
List of placemarks or null if no placemarks are found.