MapMode Members
This documentation is no longer available on MSDN, however it is available as a CHM download.
Defines the base class for a map mode. This class must be inherited.
The following tables list the members exposed by the MapMode type.
Protected Constructors
Name | Description | |
---|---|---|
MapMode | Initializes a new instance of the MapMode class. |
Top
Public Properties
Name | Description | |
---|---|---|
AnimationLevel | Gets or sets the animation level. | |
Attributions | When overridden in a derived class, gets the imagery attributions for the mode. | |
BoundingRectangle | When overridden in a derived class, gets the rectangle that defines the boundaries of the map view. | |
Center | When overridden in a derived class, gets or sets the center of the map view. | |
Content | When overridden in a derived class, gets the UIElement that represents the map mode. | |
CredentialsProvider | When overridden in a derived class, gets or sets the type of credentials provided. | |
Culture | Gets or sets the culture of the map mode. | |
ForegroundContent | When overridden in a derived class, gets the map foreground content as a UIElement. | |
Heading | When overridden in a derived class, gets or sets the heading of the map view. | |
HeadingRange | When overridden in a derived class, gets the range of valid heading values. | |
InertiaDeceleration | Gets or sets the rate of deceleration of the inertia animation effect. Valid values are from 0 to 1, where 0 indicates no inertia effect and 1 indicates the inertia effect does not slow down or stop. | |
IsDownloading | When overridden in a derived class, gets or sets whether the map mode is downloading. | |
ModeBackground | When overridden in a derived class, gets the mode of the background. | |
Pitch | When overridden in a derived class, gets or sets the pitch of the map view. | |
PitchRange | When overridden in a derived class, gets the range of valid pitch values. | |
Scale | When overridden in a derived class, gets or sets the scale of the map. | |
TargetBoundingRectangle | When overridden in a derived class, gets the location rectangle that defines the boundaries of the map view towards which the map is animating. | |
TargetCenter | When overridden in a derived class, gets the center location of the map view towards which the map is animating. | |
TargetHeading | When overridden in a derived class, gets the heading of the map view towards which the map is animating. | |
TargetPitch | When overridden in a derived class, gets the pitch of the map view towards which the map is animating. | |
TargetScale | When overridden in a derived class, gets the scale towards which the map is navigating. | |
TargetZoomLevel | When overridden in a derived class, gets the zoom level of the map view towards which the map is animating. | |
UseInertia | Gets or sets a bool indicating whether to use the inertia animation effect during map navigation. | |
ViewportSize | Gets or sets the size of the viewport. | |
ZoomLevel | When overridden in a derived class, gets or sets the zoom level. | |
ZoomRange | When overridden in a derived class, gets the range of valid zoom levels. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Activated | When overridden in a derived class, executes when the map mode is activated. | |
Activating | When overridden in a derived class, executes when the map mode is activating. | |
Deactivating | When overridden in a derived class, executes when the map mode is deactivating. | |
Equals | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
LocationToViewportPoint | Overloaded. Converts a location to a viewport point in this map mode. | |
OnKeyDown | When overridden in a derived class, raises the KeyDown event. | |
OnKeyHeld | When overridden in a derived class, raises the KeyHeld event. | |
OnKeyPress | When overridden in a derived class, raises the KeyPress event. | |
OnKeyUp | When overridden in a derived class, raises the KeyUp event. | |
OnMouseClick | When overridden in a derived class, raises the MouseClick event. | |
OnMouseDoubleClick | When overridden in a derived class, raises the MouseDoubleClick event. | |
OnMouseDragBox | When overridden in a derived class, raises the MouseDragBox event. | |
OnMouseLeftButtonDown | When overridden in a derived class, raises the MouseLeftButtonDown event. | |
OnMouseLeftButtonUp | When overridden in a derived class, raises the MouseLeftButtonUp event. | |
OnMouseMove | When overridden in a derived class, raises the MouseMove event. | |
OnMousePan | When overridden in a derived class, raises the MousePan event. | |
OnMouseWheel | When overridden in a derived class, raises the MouseWheel event. | |
OnProjectionChanged | Enables derived classes to provide custom handling when the culture of projection of the map changes. | |
OnTouchComplete | When overridden in a derived class, raises the TouchComplete event. | |
OnTouchPan | When overridden in a derived class, raises the TouchPan event. | |
OnTouchRotate | When overridden in a derived class, raises the TouchRotate event. | |
OnTouchZoom | When overridden in a derived class, raises the TouchZoom event. | |
SetView | Overloaded. Sets the map view. | |
ToString | (inherited from Object) | |
TryLocationToViewportPoint | When overridden in a derived class, tries to convert a location to a viewport point. | |
TryViewportPointToLocation | When overridden in a derived class, tries to convert a viewport point to a location. | |
ViewportPointToLocation | When overridden in a derived class, converts a viewport point to a location in this map mode. | |
ViewportSizeChanged | Enables derived classes to provide custom handling when the size of the viewport changes. |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
OnCultureChanged | Enables derived classes to provide custom handling when the culture of the mode changes. |
Top
Public Events
Name | Description | |
---|---|---|
ProjectionChanged | Occurs when the map projection changes. | |
TargetViewChanged | When overridden in derived class, occurs when the map view towards which the map is animating changes. |
Top