MapElementsLayerClickEventArgs MapElementsLayerClickEventArgs MapElementsLayerClickEventArgs MapElementsLayerClickEventArgs Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Provides data for the MapElementClick event.

public : sealed class MapElementsLayerClickEventArgs : IMapElementsLayerClickEventArgspublic sealed class MapElementsLayerClickEventArgs : IMapElementsLayerClickEventArgsPublic NotInheritable Class MapElementsLayerClickEventArgs Implements IMapElementsLayerClickEventArgs// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Constructors

MapElementsLayerClickEventArgs() MapElementsLayerClickEventArgs() MapElementsLayerClickEventArgs() MapElementsLayerClickEventArgs()

Prerelease. Initializes a new instance of the MapElementsLayerClickEventArgs class.

public : MapElementsLayerClickEventArgs()public MapElementsLayerClickEventArgs()Public Sub New()// This API is not available in Javascript.

Properties

Location Location Location Location

Prerelease. Gets the geographic location that corresponds to where the MapElementsLayer received user input.

public : Geopoint Location { get; }public Geopoint Location { get; }Public ReadOnly Property Location As Geopoint// This API is not available in Javascript.
Value
Geopoint Geopoint Geopoint Geopoint

The geographic location that corresponds to where the MapElementsLayer received user input.

MapElements MapElements MapElements MapElements

Prerelease. Gets a list of map elements that correspond to where the MapElementsLayer received user input.

public : IVector<MapElement> MapElements { get; }public IList<MapElement> MapElements { get; }Public ReadOnly Property MapElements As IList<MapElement>// This API is not available in Javascript.
Value
IVector<MapElement> IList<MapElement> IList<MapElement> IList<MapElement>

A list of map elements that correspond to where the MapElementsLayer received user input.

Position Position Position Position

Prerelease. Gets the physical position on the MapElementsLayer where it received user input.

public : Point Position { get; }public Point Position { get; }Public ReadOnly Property Position As Point// This API is not available in Javascript.
Value
Point Point Point Point

The physical position on the MapElementsLayer where it received user input, in terms of X and Y coordinates.