Skip to main content

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.

public class DeviceMap

Access this class through the Device singleton.

Constructors

Instance memberDeviceMap()

Initializes a new instance of DeviceMap.

Methods

Instance memberTryOpen(placemark, options)

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

ParameterTypeDescription
placemarkPlacemarkPlacemark to open in the map application.
options optionalMapLaunchOptionsLaunch options to use.

Returns: Boolean. if the map application is opened, otherwise .

Instance memberTryOpen(location, options)

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

ParameterTypeDescription
locationLocationLocation to open in the map application.
options optionalMapLaunchOptionsLaunch options to use.

Returns: Boolean. if the map application is opened, otherwise .