IGeocoding.GetPlacemarksAsync(Double, Double) 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.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.