RoadMode Members
This documentation is no longer available on MSDN, however it is available as a CHM download.
Represents the Road map mode.
The following tables list the members exposed by the RoadMode type.
Public Constructors
Name | Description | |
---|---|---|
RoadMode | Initializes a new instance of the RoadMode class. |
Top
Public Properties
Name | Description | |
---|---|---|
AnimationLevel | Gets or sets the animation level. (inherited from MapMode) | |
Attributions | Overridden. Gets the map mode imagery attributions. (inherited from MapMode) | |
BoundingRectangle | Overridden. Gets the location rectangle that defines the boundaries of the mode. (inherited from MapMode) | |
Center | Overridden. Gets or sets the location of the center of the map view. (inherited from MapMode) | |
Content | Overridden. Gets the map mode as a UIElement. | |
CredentialsProvider | When overridden in a derived class, gets or sets the type of credentials provided. (inherited from MapMode) | |
Culture | Gets or sets the culture of the map mode. (inherited from MapMode) | |
ForegroundContent | When overridden in a derived class, gets the map foreground content as a UIElement. (inherited from MapMode) | |
Heading | Overridden. Gets the directional heading of the map view. (inherited from MapMode) | |
HeadingRange | Overridden. Gets the heading range supported for the Mercator map mode. (inherited from MapMode) | |
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. (inherited from MapMode) | |
IsDownloading | Overridden. Gets a bool indicating whether map data is downloading. | |
ModeBackground | Overridden. Gets the background style of the mode. | |
Pitch | Overridden. Gets the pitch of the current map view. (inherited from MapMode) | |
PitchRange | Overridden. Gets the valid range of the pitch. (inherited from MapMode) | |
RestrictMaxZoomLevel | Gets or sets whether the maximum zoom level is restricted by a coverage map. | |
Scale | Overridden. Gets or sets the scale of the map. (inherited from MapMode) | |
TargetBoundingRectangle | Overridden. Gets the rectangle that defines the boundaries of the map view towards which the map is animating. (inherited from MapMode) | |
TargetCenter | Overridden. Gets the location of the center of the map view towards which the map is animating. (inherited from MapMode) | |
TargetHeading | When overridden in a derived class, gets the heading of the map view towards which the map is animating. (inherited from MapMode) | |
TargetPitch | When overridden in a derived class, gets the pitch of the map view towards which the map is animating. (inherited from MapMode) | |
TargetScale | Overridden. Gets the scale of the map towards which the map is animating. (inherited from MapMode) | |
TargetZoomLevel | Overridden. Gets the zoom level of the map view towards which the map is animating. (inherited from MapMode) | |
UpSampleLevelDelta | Gets or sets the sample level delta. | |
UseInertia | Gets or sets a bool indicating whether to use the inertia animation effect during map navigation. (inherited from MapMode) | |
ViewportSize | Gets or sets the size of the viewport. (inherited from MapMode) | |
ZoomLevel | Overridden. Gets or sets the zoom level of the map view. (inherited from MapMode) | |
ZoomRange | Overridden. Gets the range of the valid zoom levels. (inherited from MapMode) |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Activated | When overridden in a derived class, executes when the map mode is activated. (inherited from MapMode) | |
Activating | Overridden. Notifies the mode that it is being activated by the map. | |
ConstrainView | Overridden. Modifies the given parameters to valid values based on the mode limitations. (inherited from FlatMapMode) | |
Deactivating | When overridden in a derived class, executes when the map mode is deactivating. (inherited from MapMode) | |
Equals | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
LocationRectToLogicalRect | Overridden. Converts a location rectangle to a rectangle in logical space. (inherited from FlatMapMode) | |
LocationToLogicalPoint | Overridden. Converts the specified location to a point. (inherited from FlatMapMode) | |
LocationToViewportPoint | Overridden. Converts a location to a viewport point. (inherited from MapMode) | |
LogicalPointToViewportPoint | Converts a point on the screen to a point in the map view. (inherited from FlatMapMode) | |
OnKeyDown | When overridden in a derived class, raises the KeyDown event. (inherited from MapMode) | |
OnKeyHeld | Overridden. Raises the KeyHeld event. (inherited from MapMode) | |
OnKeyPress | When overridden in a derived class, raises the KeyPress event. (inherited from MapMode) | |
OnKeyUp | When overridden in a derived class, raises the KeyUp event. (inherited from MapMode) | |
OnMouseClick | When overridden in a derived class, raises the MouseClick event. (inherited from MapMode) | |
OnMouseDoubleClick | Overridden. Raises the MouseDoubleClick event. (inherited from MapMode) | |
OnMouseDragBox | Overridden. Raises the MouseDragBox event. (inherited from MapMode) | |
OnMouseLeftButtonDown | When overridden in a derived class, raises the MouseLeftButtonDown event. (inherited from MapMode) | |
OnMouseLeftButtonUp | When overridden in a derived class, raises the MouseLeftButtonUp event. (inherited from MapMode) | |
OnMouseMove | When overridden in a derived class, raises the MouseMove event. (inherited from MapMode) | |
OnMousePan | Overridden. Raises the MousePan event. (inherited from MapMode) | |
OnMouseWheel | Overridden. Raises the MouseWheel event. (inherited from MapMode) | |
OnProjectionChanged | Overridden. Enables the ability to provide custom handling when the projection changes. (inherited from MapMode) | |
OnTouchComplete | When overridden in a derived class, raises the TouchComplete event. (inherited from MapMode) | |
OnTouchPan | When overridden in a derived class, raises the TouchPan event. (inherited from MapMode) | |
OnTouchRotate | When overridden in a derived class, raises the TouchRotate event. (inherited from MapMode) | |
OnTouchZoom | When overridden in a derived class, raises the TouchZoom event. (inherited from MapMode) | |
SetView | Overridden. Sets the map view. (inherited from MapMode) | |
ToString | (inherited from Object) | |
TryLocationToViewportPoint | Overridden. Converts the specified location to a viewport point. (inherited from MapMode) | |
TryViewportPointToLocation | Overridden. Converts the specified viewport point to a location. (inherited from MapMode) | |
ViewportPointToLocation | Overridden. Converts a viewport point to a location. (inherited from MapMode) | |
ViewportPointToLogicalPoint | Converts a viewport point to a point on the screen. (inherited from FlatMapMode) | |
ViewportSizeChanged | Overridden. Enables the ability to provide custom handling when the size of the viewport changes. (inherited from MapMode) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object) | |
GetZoomRange | Overridden. Retrieves the valid zoom range for the specified location in the Road map mode. | |
LocationToLogicalPoint | Overridden. Converts the specified location to a point. (inherited from FlatMapMode) | |
LogicalPointToLocation | Overridden. Converts a logical point to a location in the Mercator map mode. (inherited from FlatMapMode) | |
MemberwiseClone | (inherited from Object) | |
OnCultureChanged | Overridden. Enables the ability to provide custom handling when the culture of the mode changes. |
Top
Public Events
Name | Description | |
---|---|---|
ProjectionChanged | Occurs when the map projection changes. (inherited from MapMode) | |
TargetViewChanged | Overridden. Occurs when the view towards which the map is animating changes. (inherited from MapMode) |
Top
See Also
Reference
RoadMode Class
Microsoft.Maps.MapControl Namespace