PlacemarkExtensions.OpenMapsAsync 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
OpenMapsAsync(Placemark) |
Open the map to the placemark. |
OpenMapsAsync(Placemark, MapLaunchOptions) |
Open the map to the placemark with options. |
OpenMapsAsync(Placemark)
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)
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.