Map Members
This documentation is no longer available on MSDN, however it is available as a CHM download.
Represents the default map class.
The following tables list the members exposed by the Map type.
Public Constructors
Name | Description | |
---|---|---|
Map | Initializes a new instance of the Map class. |
Top
Public Properties
(see also Protected Properties)
Name | Description | |
---|---|---|
ActualHeight | (inherited from FrameworkElement) | |
ActualWidth | (inherited from FrameworkElement) | |
AnimationLevel | Overridden. Gets or sets the animation level of the map. (inherited from MapBase) | |
Background | (inherited from Control) | |
BorderBrush | (inherited from Control) | |
BorderThickness | (inherited from Control) | |
BoundingRectangle | Overridden. Gets the rectangle that defines the boundaries of the map view. (inherited from MapBase) | |
CacheMode | (inherited from UIElement) | |
Center | When overridden in a derived class, gets the center location of the map view. (inherited from MapBase) | |
Children | Gets the child elements of the map. (inherited from MapBase) | |
Clip | (inherited from UIElement) | |
CopyrightVisibility | Gets or sets the visibility of the copyright on the map. (inherited from MapBase) | |
CredentialsProvider | Gets or sets the credentials provider. | |
Culture | Gets or sets the culture used by the map. (inherited from MapBase) | |
Cursor | (inherited from FrameworkElement) | |
DataContext | (inherited from FrameworkElement) | |
DesiredSize | (inherited from UIElement) | |
Dispatcher | (inherited from DependencyObject) | |
Effect | (inherited from UIElement) | |
FontFamily | (inherited from Control) | |
FontSize | (inherited from Control) | |
FontStretch | (inherited from Control) | |
FontStyle | (inherited from Control) | |
FontWeight | (inherited from Control) | |
Foreground | (inherited from Control) | |
Heading | When overridden in a derived class, gets or sets the directional heading of the map. (inherited from MapBase) | |
Height | (inherited from FrameworkElement) | |
HorizontalAlignment | (inherited from FrameworkElement) | |
HorizontalContentAlignment | (inherited from Control) | |
IsDownloading | Overridden. Gets a bool indicating whether map data is downloading. (inherited from MapBase) | |
IsEnabled | (inherited from Control) | |
IsHitTestVisible | (inherited from UIElement) | |
IsTabStop | (inherited from Control) | |
Language | (inherited from FrameworkElement) | |
LogoVisibility | Gets or sets the visibility of the logo on the map. (inherited from MapBase) | |
MapForeground | Gets the map foreground. | |
Margin | (inherited from FrameworkElement) | |
MaxHeight | (inherited from FrameworkElement) | |
MaxWidth | (inherited from FrameworkElement) | |
MinHeight | (inherited from FrameworkElement) | |
MinWidth | (inherited from FrameworkElement) | |
Mode | Overridden. Gets or sets the map mode. | |
Name | (inherited from FrameworkElement) | |
NavigationVisibility | Gets or sets the visibility of the navigation bar. (inherited from MapBase) | |
Opacity | (inherited from UIElement) | |
OpacityMask | (inherited from UIElement) | |
Padding | (inherited from Control) | |
Parent | (inherited from FrameworkElement) | |
Pitch | Gets or sets the pitch of the map. (inherited from MapBase) | |
Projection | (inherited from UIElement) | |
RenderSize | (inherited from UIElement) | |
RenderTransform | (inherited from UIElement) | |
RenderTransformOrigin | (inherited from UIElement) | |
Resources | (inherited from FrameworkElement) | |
ScaleVisibility | Gets or sets the visibility of the scale bar. (inherited from MapBase) | |
Style | (inherited from FrameworkElement) | |
TabIndex | (inherited from Control) | |
TabNavigation | (inherited from Control) | |
Tag | (inherited from FrameworkElement) | |
TargetBoundingRectangle | Overridden. Gets the bounding rectangle that defines the boundaries of the map view towards which the map is animating. (inherited from MapBase) | |
TargetCenter | Overridden. Gets the center location of the map view towards which the map is animating. (inherited from MapBase) | |
TargetHeading | Overridden. Gets the heading of the map view towards which the map is animating. (inherited from MapBase) | |
TargetPitch | Overridden. Gets the pitch of the map view towards which the map is animating. (inherited from MapBase) | |
TargetZoomLevel | Overridden. Gets the zoom level of the map view towards which the map is animating. (inherited from MapBase) | |
Template | (inherited from Control) | |
Triggers | (inherited from FrameworkElement) | |
UseInertia | Gets or sets whether to use the inertia animation effect during map navigation. (inherited from MapCore) | |
UseLayoutRounding | (inherited from UIElement) | |
VerticalAlignment | (inherited from FrameworkElement) | |
VerticalContentAlignment | (inherited from Control) | |
ViewportSize | Overridden. Gets the size of the viewport. (inherited from MapBase) | |
Visibility | (inherited from UIElement) | |
Width | (inherited from FrameworkElement) | |
ZoomLevel | When overridden in a derived class, gets or sets the zoom level of the map. (inherited from MapBase) |
Top
Protected Properties
Name | Description | |
---|---|---|
Content | (inherited from UserControl) | |
DefaultStyleKey | (inherited from Control) | |
RootLayer | Gets the base map layer. (inherited from MapBase) |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
AddHandler | (inherited from UIElement) | |
ApplyTemplate | (inherited from Control) | |
Arrange | (inherited from UIElement) | |
CaptureMouse | (inherited from UIElement) | |
CheckAccess | (inherited from DependencyObject) | |
ClearValue | (inherited from DependencyObject) | |
Equals | (inherited from Object) | |
FindName | (inherited from FrameworkElement) | |
Focus | (inherited from Control) | |
GetAnimationBaseValue | (inherited from DependencyObject) | |
GetBindingExpression | (inherited from FrameworkElement) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
GetValue | (inherited from DependencyObject) | |
InvalidateArrange | (inherited from UIElement) | |
InvalidateMeasure | (inherited from UIElement) | |
LocationToViewportPoint | Overridden. Converts a location to a viewport point. (inherited from MapBase) | |
Measure | (inherited from UIElement) | |
OnApplyTemplate | (inherited from FrameworkElement) | |
ReadLocalValue | (inherited from DependencyObject) | |
ReleaseMouseCapture | (inherited from UIElement) | |
RemoveHandler | (inherited from UIElement) | |
SetBinding | (inherited from FrameworkElement) | |
SetMode | Overridden. Sets the map mode. (inherited from MapBase) | |
SetValue | (inherited from DependencyObject) | |
SetView | Overridden. Sets the map view to the specified center location and zoom level. (inherited from MapBase) | |
ToString | (inherited from Object) | |
TransformToVisual | (inherited from UIElement) | |
TryLocationToViewportPoint | Overridden. Tries to converts a location to a viewport point. (inherited from MapBase) | |
TryViewportPointToLocation | Overridden. Tries to convert a viewport point to a location. (inherited from MapBase) | |
UpdateLayout | (inherited from UIElement) | |
ViewportPointToLocation | Overridden. Converts the specified viewport point to a location. (inherited from MapBase) |
Top
Protected Methods
Name | Description | |
---|---|---|
ArrangeOverride | Overridden. Arranges the elements to fit the given Size. (inherited from FrameworkElement) | |
Finalize | Overridden. Deconstructs the map. | |
GetTemplateChild | (inherited from Control) | |
MeasureOverride | Overridden. Measures the map elements so that they fit within the map Size. (inherited from FrameworkElement) | |
MemberwiseClone | (inherited from Object) | |
OnCenterChanged | Overridden. Enables the ability to provide custom handling when the location of the center of the map changes. (inherited from MapBase) | |
OnCreateAutomationPeer | Overridden. Enables the ability to provide custom handling when an automation peer is created. (inherited from UIElement) | |
OnCredentialsProviderChanged | Overridden. Enables the ability to provide custom handling when the credentials provider changes. | |
OnCultureChanged | Overridden. Enables derived classes to provide custom handling when the culture of the map changes. | |
OnFirstFrame | Overridden. Enables derived classes to provide custom handling when the first map frame is loaded. | |
OnGotFocus | (inherited from Control) | |
OnHeadingChanged | Overridden. Enables the ability to provide custom handling when the directional heading of the map changes. (inherited from MapBase) | |
OnKeyDown | Overridden. Raises the KeyDown keyboard event. (inherited from Control) | |
OnKeyUp | Overridden. Raises the KeyUp keyboard event. (inherited from Control) | |
OnLostFocus | (inherited from Control) | |
OnLostMouseCapture | (inherited from Control) | |
OnMouseEnter | (inherited from Control) | |
OnMouseLeave | (inherited from Control) | |
OnMouseLeftButtonDown | Overridden. Raises the MouseLeftButtonDown mouse event. (inherited from Control) | |
OnMouseLeftButtonUp | Overridden. Raises the MouseLeftButtonUp mouse event. (inherited from Control) | |
OnMouseMove | Overridden. Raises the MouseMove mouse event. (inherited from Control) | |
OnMouseWheel | Overridden. Raises the MouseWheel mouse event. (inherited from Control) | |
OnOverlayVisibilityChanged | Overridden. Enables the ability to provide custom handling when the visibility of an overlay changes. | |
OnPitchChanged | Overridden. Enables the ability to provide custom handling when the pitch of the map changes. (inherited from MapBase) | |
OnZoomLevelChanged | Overridden. Enables the ability to provide custom handling when the zoom level of the map changes. (inherited from MapBase) |
Top
Public Events
Name | Description | |
---|---|---|
BindingValidationError | (inherited from FrameworkElement) | |
GotFocus | (inherited from UIElement) | |
IsEnabledChanged | (inherited from Control) | |
KeyDown | Overridden. Occurs when a key is pressed down. (inherited from MapBase) | |
KeyHeld | Overridden. Occurs when the user presses and holds down a key or keys on the keyboard. (inherited from MapBase) | |
KeyPress | Overridden. Occurs when the user presses a key on the keyboard. (inherited from MapBase) | |
KeyUp | Overridden. Occurs when a key is released. (inherited from MapBase) | |
LayoutUpdated | (inherited from FrameworkElement) | |
Loaded | (inherited from FrameworkElement) | |
LoadingError | Overridden. Occurs when there is an error loading the map. (inherited from MapBase) | |
LostFocus | (inherited from UIElement) | |
LostMouseCapture | (inherited from UIElement) | |
ModeChanged | Overridden. Occurs when the map mode changes. (inherited from MapBase) | |
MouseClick | Overridden. Occurs when the mouse is used to click the map. (inherited from MapBase) | |
MouseDoubleClick | Overridden. Occurs when the mouse is used to double click the map. (inherited from MapBase) | |
MouseDragBox | Overridden. Occurs when the mouse is used to drag a box around an area on the map. (inherited from MapBase) | |
MouseEnter | (inherited from UIElement) | |
MouseLeave | (inherited from UIElement) | |
MouseLeftButtonDown | Overridden. Occurs when the left mouse button is pressed down. (inherited from MapBase) | |
MouseLeftButtonUp | Overridden. Occurs when the left mouse button is released. (inherited from MapBase) | |
MouseMove | Overridden. Occurs when the mouse moves. (inherited from MapBase) | |
MousePan | Overridden. Occurs when the mouse is used to pan the map. The event occurs for every frame during the pan. (inherited from MapBase) | |
MouseWheel | Overridden. Occurs when the mouse wheel is used. (inherited from MapBase) | |
SizeChanged | (inherited from FrameworkElement) | |
TargetViewChanged | Overridden. Occurs when the view towards which the map is animating changes. (inherited from MapBase) | |
TouchComplete | Overridden. Occurs when a touch of the map on the screen finishes. (inherited from MapBase) | |
TouchPan | Overridden. Occurs when the screen is touched and dragged to pan the map. This event occurs every frame. (inherited from MapBase) | |
TouchRotate | Overridden. Occurs when the map is rotated using touch. This event occurs when a touch point is dragged in a circle around a stationary touch point. (inherited from MapBase) | |
TouchZoom | Overridden. Occurs when the map is touched to zoom the map. The map can be zoomed in using touch by tapping quickly twice, or by sliding two touch points together. The map can be zoomed out using touch by holding the CTRL key down and tapping quickly twice, or by sliding two touch points apart. (inherited from MapBase) | |
ViewChangeEnd | Overridden. Occurs when the view is done changing. (inherited from MapBase) | |
ViewChangeOnFrame | Overridden. Occurs for every frame of a view change. (inherited from MapBase) | |
ViewChangeStart | Overridden. Occurs when the view starts changing. (inherited from MapBase) |
Top
See Also
Reference
Map Class
Microsoft.Maps.MapControl Namespace
Other Resources
Creating a Basic Application Using the Silverlight Map Control
Navigating Between Map Views