Udostępnij za pośrednictwem


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

System.Threading.Tasks.Task

Task to be completed.

Applies to

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

System.Threading.Tasks.Task

Task to be completed.

Applies to

OpenAsync(Double, Double)

Open the installed application to a specific location.

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

Parameters

latitude
System.Double

Latitude to open to.

longitude
System.Double

Longitude to open to.

Returns

System.Threading.Tasks.Task

Task to be completed.

Applies to

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

System.Threading.Tasks.Task

Task to be completed.

Applies to

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

System.Threading.Tasks.Task

Task to be completed.

Applies to

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
System.Double

Latitude to open to.

longitude
System.Double

Longitude to open to.

options
MapLaunchOptions

Launch options to use.

Returns

System.Threading.Tasks.Task

Task to be completed.

Applies to