GeocodingExtensions.GetPlacemarksAsync(IGeocoding, Location) Method
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 Location.
public:
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::Maui::Devices::Sensors::Placemark ^> ^> ^ GetPlacemarksAsync(Microsoft::Maui::Devices::Sensors::IGeocoding ^ geocoding, Microsoft::Maui::Devices::Sensors::Location ^ location);
C#
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Maui.Devices.Sensors.Placemark>> GetPlacemarksAsync(this Microsoft.Maui.Devices.Sensors.IGeocoding geocoding, Microsoft.Maui.Devices.Sensors.Location location);
static member GetPlacemarksAsync : Microsoft.Maui.Devices.Sensors.IGeocoding * Microsoft.Maui.Devices.Sensors.Location -> System.Threading.Tasks.Task<seq<Microsoft.Maui.Devices.Sensors.Placemark>>
<Extension()>
Public Function GetPlacemarksAsync (geocoding As IGeocoding, location As Location) As Task(Of IEnumerable(Of Placemark))
- geocoding
- IGeocoding
The object this method is invoked on.
List of Placemark that best match the coordinates or null
if no placemarks are found.
Thrown when location
is null
.
Производ | Верзије |
---|---|
.NET MAUI | 8, 9 |
Сарађујте са нама на GitHub-у
Извор овог садржаја можете пронаћи на платформи GitHub, где можете и да креирате и прегледате проблеме и захтеве за повлачењем. Више информација потражите у нашем водичу за сараднике.
.NET MAUI повратне информације
.NET MAUI је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: