Share via


IGeocoding.GetPlacemarksAsync(Double, Double) Method

Definition

Retrieve potential placemarks for a given location specified by coordinates.

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::Maui::Devices::Sensors::Placemark ^> ^> ^ GetPlacemarksAsync(double latitude, double longitude);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Maui.Devices.Sensors.Placemark>> GetPlacemarksAsync (double latitude, double longitude);
abstract member GetPlacemarksAsync : double * double -> System.Threading.Tasks.Task<seq<Microsoft.Maui.Devices.Sensors.Placemark>>
Public Function GetPlacemarksAsync (latitude As Double, longitude As Double) As Task(Of IEnumerable(Of Placemark))

Parameters

latitude
Double

The latitude coordinate to find placemarks near.

longitude
Double

The longitude coordinate to find placemarks near.

Returns

List of Placemark that best match the coordinates or null if no placemarks are found.

Applies to