Share via


PlacemarkExtensions.OpenMapsAsync Method

Definition

Overloads

OpenMapsAsync(Placemark)

Open the map to the placemark.

OpenMapsAsync(Placemark, MapLaunchOptions)

Open the map to the placemark with options.

OpenMapsAsync(Placemark)

Source:
PlacemarkExtensions.shared.cs
Source:
PlacemarkExtensions.shared.cs

Open the map to the placemark.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ OpenMapsAsync(Microsoft::Maui::Devices::Sensors::Placemark ^ placemark);
public static System.Threading.Tasks.Task OpenMapsAsync (this Microsoft.Maui.Devices.Sensors.Placemark placemark);
static member OpenMapsAsync : Microsoft.Maui.Devices.Sensors.Placemark -> System.Threading.Tasks.Task
<Extension()>
Public Function OpenMapsAsync (placemark As Placemark) As Task

Parameters

placemark
Placemark

The placemark to open the map to.

Returns

A Task object with the current status of the asynchronous operation.

Applies to

OpenMapsAsync(Placemark, MapLaunchOptions)

Source:
PlacemarkExtensions.shared.cs
Source:
PlacemarkExtensions.shared.cs

Open the map to the placemark with options.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ OpenMapsAsync(Microsoft::Maui::Devices::Sensors::Placemark ^ placemark, Microsoft::Maui::ApplicationModel::MapLaunchOptions ^ options);
public static System.Threading.Tasks.Task OpenMapsAsync (this Microsoft.Maui.Devices.Sensors.Placemark placemark, Microsoft.Maui.ApplicationModel.MapLaunchOptions options);
static member OpenMapsAsync : Microsoft.Maui.Devices.Sensors.Placemark * Microsoft.Maui.ApplicationModel.MapLaunchOptions -> System.Threading.Tasks.Task
<Extension()>
Public Function OpenMapsAsync (placemark As Placemark, options As MapLaunchOptions) As Task

Parameters

placemark
Placemark

A placemark to open the map to.

options
MapLaunchOptions

Options for opening the map.

Returns

A Task object with the current status of the asynchronous operation.

Applies to