MapElementsLayer MapElementsLayer MapElementsLayer MapElementsLayer Class

Definition

Represents a collection of map elements to which you can bind data and manipulate independently of other map elements.

public : sealed class MapElementsLayer : MapLayer, IMapElementsLayerpublic sealed class MapElementsLayer : MapLayer, IMapElementsLayerPublic NotInheritable Class MapElementsLayer Inherits MapLayer Implements IMapElementsLayer// This API is not available in Javascript.
Inheritance
MapElementsLayerMapElementsLayerMapElementsLayerMapElementsLayer
Attributes
Windows 10 requirements
Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Inherited Members

Inherited methods

Inherited properties

Constructors

MapElementsLayer() MapElementsLayer() MapElementsLayer() MapElementsLayer()

Creates a MapElementsLayer instance.

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

Properties

MapElements MapElements MapElements MapElements

Gets the collection of MapElement objects that are children of the MapElementsLayer.

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

The collection of MapElement objects that are children of the MapElementsLayer.

MapElementsProperty MapElementsProperty MapElementsProperty MapElementsProperty

Identifies the MapElements dependency property.

public : static DependencyProperty MapElementsProperty { get; }public static DependencyProperty MapElementsProperty { get; }Public Static ReadOnly Property MapElementsProperty As DependencyProperty// This API is not available in Javascript.

Events

MapContextRequested MapContextRequested MapContextRequested MapContextRequested

Occurs when the user has completed a context input gesture on a map layer, such as a right-click.

public : event TypedEventHandler MapContextRequested<MapElementsLayer,  MapElementsLayerContextRequestedEventArgs>public event TypedEventHandler MapContextRequested<MapElementsLayer,  MapElementsLayerContextRequestedEventArgs>Public Event MapContextRequested<MapElementsLayer,  MapElementsLayerContextRequestedEventArgs>// This API is not available in Javascript.

MapElementClick MapElementClick MapElementClick MapElementClick

Occurs when the user taps or clicks a MapElement that has been add to the MapElementsLayer.

public : event TypedEventHandler MapElementClick<MapElementsLayer,  MapElementsLayerClickEventArgs>public event TypedEventHandler MapElementClick<MapElementsLayer,  MapElementsLayerClickEventArgs>Public Event MapElementClick<MapElementsLayer,  MapElementsLayerClickEventArgs>// This API is not available in Javascript.

Remarks

Touch, mouse, and pen/stylus interactions are received, processed, and managed as pointers. Any of these devices and their interactions can produce a MapElementsClick event. An instance of MapElementsLayerClickEventArgs provides data for this event.

MapElementPointerEntered MapElementPointerEntered MapElementPointerEntered MapElementPointerEntered

Occurs when a pointer moves into the bounding area of a MapElement on a MapElementsLayer.

public : event TypedEventHandler MapElementPointerEntered<MapElementsLayer,  MapElementsLayerPointerEnteredEventArgs>public event TypedEventHandler MapElementPointerEntered<MapElementsLayer,  MapElementsLayerPointerEnteredEventArgs>Public Event MapElementPointerEntered<MapElementsLayer,  MapElementsLayerPointerEnteredEventArgs>// This API is not available in Javascript.

Remarks

Mouse interactions are received, processed, and managed as pointers. The MapElementPointerEntered event is triggered as the user moves their mouse over an element. An instance of MapElementsLayerPointerEnteredEventArgs provides data for this event.

MapElementPointerExited MapElementPointerExited MapElementPointerExited MapElementPointerExited

Occurs when a pointer moves out of the bounding area of a MapElement on a MapElementsLayer.

public : event TypedEventHandler MapElementPointerExited<MapElementsLayer,  MapElementsLayerPointerExitedEventArgs>public event TypedEventHandler MapElementPointerExited<MapElementsLayer,  MapElementsLayerPointerExitedEventArgs>Public Event MapElementPointerExited<MapElementsLayer,  MapElementsLayerPointerExitedEventArgs>// This API is not available in Javascript.

Remarks

Mouse interactions are received, processed, and managed as pointers. The MapElementPointerExited event is triggered as the user moves their mouse out from over an element. An instance of MapElementsLayerPointerExitedEventArgs provides data for this event.