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
- Double
Latitude of the location.
- longitude
- Double
Longitude of the location.
Returns
List of placemarks or null if no placemarks are found.
Applies to
Xamarin.Essentials
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for