Map.OpenAsync 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
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)
OpenAsync(Placemark)
OpenAsync(Double, Double)
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.
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
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
- Double
Latitude to open to.
- longitude
- Double
Longitude to open to.
- options
- MapLaunchOptions
Launch options to use.
Returns
Task to be completed.
Applies to
Xamarin.Essentials
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for