MapElementClickEventArgs MapElementClickEventArgs MapElementClickEventArgs MapElementClickEventArgs Class

Definition

Provides data for the MapElementClick event.

public : sealed class MapElementClickEventArgs : IMapElementClickEventArgspublic sealed class MapElementClickEventArgs : IMapElementClickEventArgsPublic NotInheritable Class MapElementClickEventArgs Implements IMapElementClickEventArgs// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

MapElementClickEventArgs() MapElementClickEventArgs() MapElementClickEventArgs() MapElementClickEventArgs()

Initializes a new instance of the MapElementClickEventArgs class.

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

Properties

Location Location Location Location

Gets the geographic location that corresponds to where the MapControl 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 MapControl received user input.

MapElements MapElements MapElements MapElements

Gets a list of map elements that correspond to where the MapControl 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 MapControl received user input.

Position Position Position Position

Gets the physical position on the MapControl 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 MapControl where it received user input, in terms of X and Y coordinates.