MapLayer Members
This documentation is no longer available on MSDN, however it is available as a CHM download.
Represents a map layer, which positions its child UIElement objects using geographic coordinates.
The following tables list the members exposed by the MapLayer type.
Public Constructors
Name | Description | |
---|---|---|
MapLayer | Initializes a new instance of the MapLayer class. |
Top
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
PositionOffsetProperty | Identifies the PositionOffset dependency property. |
![]() ![]() |
PositionOriginProperty | Identifies the PositionOrigin dependency property. |
![]() ![]() |
PositionProperty | Identifies the Position dependency property. |
![]() ![]() |
PositionRectangleProperty | Identifies the PositionRectangle dependency property. |
Top
Public Properties
Name | Description | |
---|---|---|
![]() |
ActualHeight | (inherited from FrameworkElement) |
![]() |
ActualWidth | (inherited from FrameworkElement) |
![]() |
Background | (inherited from Panel) |
![]() |
CacheMode | (inherited from UIElement) |
![]() |
Children | (inherited from Panel) |
![]() |
Clip | (inherited from UIElement) |
![]() |
Cursor | (inherited from FrameworkElement) |
![]() |
DataContext | (inherited from FrameworkElement) |
![]() |
DesiredSize | (inherited from UIElement) |
![]() |
Dispatcher | (inherited from DependencyObject) |
![]() |
Effect | (inherited from UIElement) |
![]() |
Height | (inherited from FrameworkElement) |
![]() |
HorizontalAlignment | (inherited from FrameworkElement) |
![]() |
IsHitTestVisible | (inherited from UIElement) |
![]() |
IsItemsHost | (inherited from Panel) |
![]() |
Language | (inherited from FrameworkElement) |
![]() |
Margin | (inherited from FrameworkElement) |
![]() |
MaxHeight | (inherited from FrameworkElement) |
![]() |
MaxWidth | (inherited from FrameworkElement) |
![]() |
MinHeight | (inherited from FrameworkElement) |
![]() |
MinWidth | (inherited from FrameworkElement) |
![]() |
Name | (inherited from FrameworkElement) |
![]() |
Opacity | (inherited from UIElement) |
![]() |
OpacityMask | (inherited from UIElement) |
![]() |
Parent | (inherited from FrameworkElement) |
![]() |
ParentMap | Gets the parent map of the map layer. |
![]() ![]() |
Position | Gets the position of the map layer. |
![]() ![]() |
PositionOffset | Gets the offset of a layer from the position calculated by the map projection, in pixels. |
![]() ![]() |
PositionOrigin | Gets the position origin of the map layer. |
![]() ![]() |
PositionRectangle | Gets a LocationRect that UIElement objects are fit into (also known as “arranging”). |
![]() |
Projection | (inherited from UIElement) |
![]() |
RenderSize | (inherited from UIElement) |
![]() |
RenderTransform | (inherited from UIElement) |
![]() |
RenderTransformOrigin | (inherited from UIElement) |
![]() |
Resources | (inherited from FrameworkElement) |
![]() |
Style | (inherited from FrameworkElement) |
![]() |
Tag | (inherited from FrameworkElement) |
![]() |
Triggers | (inherited from FrameworkElement) |
![]() |
UseLayoutRounding | (inherited from UIElement) |
![]() |
VerticalAlignment | (inherited from FrameworkElement) |
![]() |
Visibility | (inherited from UIElement) |
![]() |
Width | (inherited from FrameworkElement) |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
![]() |
AddChild | Overloaded. Overridden. Adds a UIElement to the map layer. |
![]() |
AddHandler | (inherited from UIElement) |
![]() |
Arrange | (inherited from UIElement) |
![]() |
CaptureMouse | (inherited from UIElement) |
![]() |
CheckAccess | (inherited from DependencyObject) |
![]() |
ClearValue | (inherited from DependencyObject) |
![]() |
Equals | (inherited from Object) |
![]() |
FindName | (inherited from FrameworkElement) |
![]() |
GetAnimationBaseValue | (inherited from DependencyObject) |
![]() |
GetBindingExpression | (inherited from FrameworkElement) |
![]() |
GetHashCode | (inherited from Object) |
![]() ![]() |
GetPosition | Retrieves the map layer’s position. |
![]() ![]() |
GetPositionOffset | Retrieves the offset of a layer from the position calculated by the map projection, in pixels. |
![]() ![]() |
GetPositionOrigin | Retrieves the map layer’s position origin. |
![]() ![]() |
GetPositionRectangle | Retrieves a LocationRect that UIElement objects of the layer are fit into (also known as “arranging”). |
![]() |
GetType | (inherited from Object) |
![]() |
GetValue | (inherited from DependencyObject) |
![]() |
InvalidateArrange | (inherited from UIElement) |
![]() |
InvalidateMeasure | (inherited from UIElement) |
![]() |
Measure | (inherited from UIElement) |
![]() |
OnApplyTemplate | (inherited from FrameworkElement) |
![]() ![]() |
OnPositionChanged | Enables the ability to provide custom handling when the Position of the layer changes. |
![]() ![]() |
OnPositionOffsetChanged | Enables the ability to provide custom handling when the PositionOffset of the layer changes. |
![]() ![]() |
OnPositionOriginChanged | Enables the ability to provide custom handling when the PositionOrigin of the layer changes. |
![]() ![]() |
OnPositionRectangleChanged | Enables the ability to provide custom handling when the PositionRectangle of the layer changes. |
![]() |
ProjectionUpdated | Updates the map layer elements if the map projection is updated. |
![]() |
ReadLocalValue | (inherited from DependencyObject) |
![]() |
ReleaseMouseCapture | (inherited from UIElement) |
![]() |
RemoveHandler | (inherited from UIElement) |
![]() |
SetBinding | (inherited from FrameworkElement) |
![]() ![]() |
SetPosition | Sets the position of the map layer. |
![]() ![]() |
SetPositionOffset | Sets the position offset of the map layer. |
![]() ![]() |
SetPositionOrigin | Sets the position of the origin of the map layer. |
![]() ![]() |
SetPositionRectangle | Sets the position rectangle of the map layer. |
![]() |
SetValue | (inherited from DependencyObject) |
![]() |
ToString | (inherited from Object) |
![]() |
TransformToVisual | (inherited from UIElement) |
![]() |
UpdateLayout | (inherited from UIElement) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
ArrangeOverride | Overridden. Arranges the child elements so that they fit into the map layer. |
![]() |
Finalize | (inherited from Object) |
![]() |
MeasureOverride | Overridden. Measures the elements that need to fit into the map layer. |
![]() |
MemberwiseClone | (inherited from Object) |
![]() |
OnCreateAutomationPeer | Overridden. Enables the ability to provide custom handling when an automation peer is created. |
Top
Public Events
Name | Description | |
---|---|---|
![]() |
BindingValidationError | (inherited from FrameworkElement) |
![]() |
GotFocus | (inherited from UIElement) |
![]() |
KeyDown | (inherited from UIElement) |
![]() |
KeyUp | (inherited from UIElement) |
![]() |
LayoutUpdated | (inherited from FrameworkElement) |
![]() |
Loaded | (inherited from FrameworkElement) |
![]() |
LostFocus | (inherited from UIElement) |
![]() |
LostMouseCapture | (inherited from UIElement) |
![]() |
MouseEnter | (inherited from UIElement) |
![]() |
MouseLeave | (inherited from UIElement) |
![]() |
MouseLeftButtonDown | (inherited from UIElement) |
![]() |
MouseLeftButtonUp | (inherited from UIElement) |
![]() |
MouseMove | (inherited from UIElement) |
![]() |
MouseWheel | (inherited from UIElement) |
![]() |
SizeChanged | (inherited from FrameworkElement) |
Top
See Also
Reference
MapLayer Class
Microsoft.Maps.MapControl Namespace
Other Resources
Adding Shapes to the Map
Adding Media to the Map
Adding Tile Overlays to the Map