Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Map Class

Definition

Namespace:
Microsoft.Maui.ApplicationModel
Assembly:
Microsoft.Maui.Essentials.dll
Source:
Map.shared.cs
Source:
Map.shared.cs
Source:
Map.shared.cs
Source:
Map.shared.cs

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.

The Map API enables an application to open the installed map application to a specific location or placemark.

public ref class Map abstract sealed
public static class Map
type Map = class
Public Class Map
Inheritance
Map

Properties

Name Description
Default

Provides the default implementation for static usage of this API.

Methods

Name Description
OpenAsync(Double, Double, MapLaunchOptions)

Open the installed application to a specific location with launch options.

OpenAsync(Double, Double)

Open the installed application to a specific location.

OpenAsync(Location, MapLaunchOptions)

Open the installed application to a specific location with launch options.

OpenAsync(Location)

Open the installed application to a specific location.

OpenAsync(Placemark, MapLaunchOptions)

Open the installed application to a specific location with launch options.

OpenAsync(Placemark)

Open the installed application to a specific location.

TryOpenAsync(Double, Double, MapLaunchOptions)

First checks if the installed map application can be opened, then opens the installed application to a specific location with launch options.

TryOpenAsync(Double, Double)

First checks if the installed map application can be opened, then open the installed application to a specific location with launch options.

TryOpenAsync(Location, MapLaunchOptions)

First checks if the installed map application can be opened, then opens the installed application to a specific location with launch options.

TryOpenAsync(Location)

First checks if the installed map application can be opened, then opens the installed application to a specific location with launch options.

TryOpenAsync(Placemark, MapLaunchOptions)

First checks if the installed map application can be opened, then open the installed application to a specific placemark with launch options.

TryOpenAsync(Placemark)

First checks if the installed map application can be opened, then open the installed application to a specific placemark with launch options.

Applies to


Feedback

Was this page helpful?