DeviceMap
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid
The Map integration enables an application to open the installed map application to a specific location or placemark.
- C#
- VB.NET
public class DeviceMap
Public Class DeviceMap
Access this class through the Device singleton.
Constructors
DeviceMap()
Initializes a new instance of DeviceMap.
Methods
TryOpen(placemark, options)
First checks if the installed map application can be opened, then open the installed application to a specific placemark with launch options.
| Parameter | Type | Description |
|---|---|---|
| placemark | Placemark | Placemark to open in the map application. |
| options | MapLaunchOptions | Launch options to use. |
Returns: Boolean. if the map application is opened, otherwise .
TryOpen(location, options)
First checks if the installed map application can be opened, then opens the installed application to a specific location with launch options.
| Parameter | Type | Description |
|---|---|---|
| location | Location | Location to open in the map application. |
| options | MapLaunchOptions | Launch options to use. |
Returns: Boolean. if the map application is opened, otherwise .