IMap Interface

Definition

The Map API enables an application to open the installed map application to a specific location or placemark.

public interface class IMap
public interface IMap
type IMap = interface
Public Interface IMap

Methods

OpenAsync(Double, Double, MapLaunchOptions)

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

OpenAsync(Placemark, MapLaunchOptions)

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

TryOpenAsync(Double, Double, MapLaunchOptions)

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

TryOpenAsync(Placemark, MapLaunchOptions)

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

Extension Methods

OpenAsync(IMap, Location)

Open the installed application to a specific location.

OpenAsync(IMap, Location, MapLaunchOptions)

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

OpenAsync(IMap, Placemark)

Open the installed application to a specific placemark.

OpenAsync(IMap, Double, Double)

Open the installed application to a specific location.

TryOpenAsync(IMap, Location)

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

TryOpenAsync(IMap, Location, MapLaunchOptions)

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

TryOpenAsync(IMap, Placemark)

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

TryOpenAsync(IMap, Double, Double)

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

Applies to