Map.OpenAsync Method

Definition

Overloads

OpenAsync(Location)

Open the installed application to a specific location.

OpenAsync(Placemark)

Open the installed application to a specific placemark.

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(Placemark, MapLaunchOptions)

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

OpenAsync(Double, Double, MapLaunchOptions)

Open the installed application to a specific location.

OpenAsync(Location)

Open the installed application to a specific location.

public static System.Threading.Tasks.Task OpenAsync (Xamarin.Essentials.Location location);

Parameters

location
Location

Location to open on maps.

Returns

Task to be completed.

OpenAsync(Placemark)

Open the installed application to a specific placemark.

public static System.Threading.Tasks.Task OpenAsync (Xamarin.Essentials.Placemark placemark);

Parameters

placemark
Placemark

Placemark to open on maps.

Returns

Task to be completed.

OpenAsync(Double, Double)

Open the installed application to a specific location.

public static System.Threading.Tasks.Task OpenAsync (double latitude, double longitude);

Parameters

latitude
Double

Latitude to open to.

longitude
Double

Longitude to open to.

Returns

Task to be completed.

OpenAsync(Location, MapLaunchOptions)

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

public static System.Threading.Tasks.Task OpenAsync (Xamarin.Essentials.Location location, Xamarin.Essentials.MapLaunchOptions options);

Parameters

location
Location

Location to open maps to.

options
MapLaunchOptions

Launch options to use.

Returns

Task to be completed.

OpenAsync(Placemark, MapLaunchOptions)

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

public static System.Threading.Tasks.Task OpenAsync (Xamarin.Essentials.Placemark placemark, Xamarin.Essentials.MapLaunchOptions options);

Parameters

placemark
Placemark

Placemark to open maps to.

options
MapLaunchOptions

Launch options to use.

Returns

Task to be completed.

OpenAsync(Double, Double, MapLaunchOptions)

Open the installed application to a specific location.

public static System.Threading.Tasks.Task OpenAsync (double latitude, double longitude, Xamarin.Essentials.MapLaunchOptions options);

Parameters

latitude
Double

Latitude to open to.

longitude
Double

Longitude to open to.

options
MapLaunchOptions

Launch options to use.

Returns

Task to be completed.

Remarks

Applies to