Class
RadMap

Represents the RadMap class.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
[SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
[TelerikToolboxCategory("Data Visualization")]
public class RadMap : ItemsControl

Inheritance: objectRadMap

Derived Classes: MiniMap

Constructors

RadMap()

Initializes a new instance of the RadMap class.

Declaration

cs-api-definition
public RadMap()

Fields

CenterProperty

Identifies the Center Center dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CenterProperty

Field Value

DependencyProperty

CommandBarVisibilityProperty

Identifies the CommandBarVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandBarVisibilityProperty

Field Value

DependencyProperty

DistanceUnitProperty

Identifies the DistanceUnit DistanceUnit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DistanceUnitProperty

Field Value

DependencyProperty

GeoBoundsNWProperty

Identifies the GeoBoundsNW GeoBoundsNW dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GeoBoundsNWProperty

Field Value

DependencyProperty

GeoBoundsProperty

Identifies the GeoBounds GeoBounds dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GeoBoundsProperty

Field Value

DependencyProperty

GeoBoundsSEProperty

Identifies the GeoBoundsSE GeoBoundsSE dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GeoBoundsSEProperty

Field Value

DependencyProperty

IsKeyboardNavigationEnabledProperty

Identifies the IsKeyboardNavigationEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsKeyboardNavigationEnabledProperty

Field Value

DependencyProperty

IsMiniMapExpandedProperty

Identifies the IsMiniMapExpanded dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsMiniMapExpandedProperty

Field Value

DependencyProperty

MapMouseClickEvent

Identifies the MapMouseClick routed event.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public static readonly RoutedEvent MapMouseClickEvent

Field Value

RoutedEvent

MapMouseDoubleClickEvent

Identifies the MapMouseDoubleClick routed event.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public static readonly RoutedEvent MapMouseDoubleClickEvent

Field Value

RoutedEvent

MaxZoomLevelProperty

Identifies the MaxZoomLevel dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaxZoomLevelProperty

Field Value

DependencyProperty

MinZoomLevelProperty

Identifies the MinZoomLevel dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinZoomLevelProperty

Field Value

DependencyProperty

MiniMapExpanderVisibilityProperty

Identifies the MiniMapExpanderVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MiniMapExpanderVisibilityProperty

Field Value

DependencyProperty

MiniMapHeightProperty

Identifies the MiniMapHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MiniMapHeightProperty

Field Value

DependencyProperty

MiniMapWidthProperty

Identifies the MiniMapWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MiniMapWidthProperty

Field Value

DependencyProperty

MouseClickModeProperty

Identifies the MouseClickMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseClickModeProperty

Field Value

DependencyProperty

MouseDoubleClickModeProperty

Identifies the MouseDoubleClickMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseDoubleClickModeProperty

Field Value

DependencyProperty

MouseDragModeProperty

Identifies the MouseDragMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseDragModeProperty

Field Value

DependencyProperty

MouseLocationIndicatorVisibilityProperty

Identifies the MouseLocationIndicatorVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseLocationIndicatorVisibilityProperty

Field Value

DependencyProperty

MouseSelectionModeProperty

Identifies the MouseSelectionMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseSelectionModeProperty

Field Value

DependencyProperty

MouseShiftDragModeProperty

Identifies the MouseShiftDragMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseShiftDragModeProperty

Field Value

DependencyProperty

MouseWheelModeProperty

Identifies the MouseWheelMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseWheelModeProperty

Field Value

DependencyProperty

MouseWheelSensitivityProperty

Identifies the MouseWheelSensitivity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseWheelSensitivityProperty

Field Value

DependencyProperty

NavigationVisibilityProperty

Identifies the NavigationVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NavigationVisibilityProperty

Field Value

DependencyProperty

PanningFinishedEvent

Identifies the PanningFinished routed event.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public static readonly RoutedEvent PanningFinishedEvent

Field Value

RoutedEvent

ProviderProperty

Identifies the Provider Provider dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ProviderProperty

Field Value

DependencyProperty

ProvidersProperty

Identifies the Providers dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ProvidersProperty

Field Value

DependencyProperty

ScaleVisibilityProperty

Identifies the ScaleVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ScaleVisibilityProperty

Field Value

DependencyProperty

SpringAnimationsModeProperty

Identifies the SpringAnimationsMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SpringAnimationsModeProperty

Field Value

DependencyProperty

UseDefaultLayoutProperty

Identifies the UseDefaultLayout dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UseDefaultLayoutProperty

Field Value

DependencyProperty

UseSpringAnimationsProperty

Identifies the UseSpringAnimations dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UseSpringAnimationsProperty

Field Value

DependencyProperty

WrapAroundProperty

Identifies the WrapAround dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty WrapAroundProperty

Field Value

DependencyProperty

ZoomBarDropDownHeightProperty

Identifies the ZoomBarDropDownHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZoomBarDropDownHeightProperty

Field Value

DependencyProperty

ZoomBarPresetsVisibilityProperty

Identifies the ZoomBarPresetsVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZoomBarPresetsVisibilityProperty

Field Value

DependencyProperty

ZoomBarVisibilityProperty

Identifies the ZoomBarVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZoomBarVisibilityProperty

Field Value

DependencyProperty

ZoomLevelProperty

Identifies the ZoomLevel ZoomLevel dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZoomLevelProperty

Field Value

DependencyProperty

ZoomProperty

Identifies the Zoom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZoomProperty

Field Value

DependencyProperty

ZoomStepProperty

Identifies the ZoomStep dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZoomStepProperty

Field Value

DependencyProperty

ZoomingFinishedEvent

Identifies the ZoomingFinished routed event.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public static readonly RoutedEvent ZoomingFinishedEvent

Field Value

RoutedEvent

Properties

Center

Gets or sets center of the map. In WrapAround mode Center's Longitude exceeds boundaries (-180; 180). To coerce it you can use the method GetCoercedLocation(Location).

Declaration

cs-api-definition
public Location Center { get; set; }

Property Value

Location

CommandBarVisibility

Gets or sets visibility of the embedded MapCommandBar UI control.

Declaration

cs-api-definition
public Visibility CommandBarVisibility { get; set; }

Property Value

Visibility

DistanceUnit

Gets or sets distance unit.

Declaration

cs-api-definition
public DistanceUnit DistanceUnit { get; set; }

Property Value

DistanceUnit

GeoBounds

Gets or sets map geographical bounds.

Declaration

cs-api-definition
public LocationRect GeoBounds { get; set; }

Property Value

LocationRect

Remarks

You can't use this property to set bounds at the same time with GeoBoundsNW and GeoBoundsSE properties.

GeoBoundsNW

Gets or sets north-west corner of the map geographical bounds.

Declaration

cs-api-definition
public Location GeoBoundsNW { get; set; }

Property Value

Location

Remarks

You can't use this property to set bounds at the same time with GeoBounds property.

GeoBoundsSE

Gets or sets south-east corner of the map geographical bounds.

Declaration

cs-api-definition
public Location GeoBoundsSE { get; set; }

Property Value

Location

Remarks

You can't use this property to set bounds at the same time with GeoBounds property.

GeographicalBounds

Gets bounds of the geographical region covered by map control.

Declaration

cs-api-definition
public Rect GeographicalBounds { get; }

Property Value

Rect

IsInitialized

Gets value which indicates whether map control have been initialized.

Declaration

cs-api-definition
public bool IsInitialized { get; }

Property Value

bool

IsKeyboardNavigationEnabled

Gets or sets value which indicates whether keyboard can be used to navigate over the map.

Declaration

cs-api-definition
public bool IsKeyboardNavigationEnabled { get; set; }

Property Value

bool

IsMiniMapExpanded

Gets or sets value which indicates whether the embedded MiniMap UI control is expanded.

Declaration

cs-api-definition
public bool IsMiniMapExpanded { get; set; }

Property Value

bool

LocationRect

Gets LocationRect of the geographical region covered by map control.

Declaration

cs-api-definition
public LocationRect LocationRect { get; }

Property Value

LocationRect

MapZoomBar

Gets the default zoom control.

Declaration

cs-api-definition
public MapZoomBar MapZoomBar { get; }

Property Value

MapZoomBar

The map zoom panel.

MaxZoomLevel

Gets or sets maximum ZoomLevel.

Declaration

cs-api-definition
public int MaxZoomLevel { get; set; }

Property Value

int

MinZoomLevel

Gets or sets minimum ZoomLevel.

Declaration

cs-api-definition
public int MinZoomLevel { get; set; }

Property Value

int

MiniMapExpanderVisibility

Gets or sets visibility of the embedded MiniMapExpander UI control.

Declaration

cs-api-definition
public Visibility MiniMapExpanderVisibility { get; set; }

Property Value

Visibility

MiniMapHeight

Gets or sets height of the embedded MiniMap UI control.

Declaration

cs-api-definition
public double MiniMapHeight { get; set; }

Property Value

double

MiniMapWidth

Gets or sets width of the embedded MiniMap UI control.

Declaration

cs-api-definition
public double MiniMapWidth { get; set; }

Property Value

double

MouseClickMode

Gets or sets Mouse Click Mode property.

Declaration

cs-api-definition
public MouseBehavior MouseClickMode { get; set; }

Property Value

MouseBehavior

MouseDoubleClickMode

Gets or sets Mouse Double Click Mode property.

Declaration

cs-api-definition
public MouseBehavior MouseDoubleClickMode { get; set; }

Property Value

MouseBehavior

MouseDragMode

Gets or sets Mouse Drag Mode property.

Declaration

cs-api-definition
public MouseDragBehavior MouseDragMode { get; set; }

Property Value

MouseDragBehavior

MouseLocationIndicatorVisibility

Gets or sets visibility of the embedded MouseLocationIndicator UI control.

Declaration

cs-api-definition
public Visibility MouseLocationIndicatorVisibility { get; set; }

Property Value

Visibility

MouseSelectionMode

Gets or sets Mouse Selection Mode property.

Declaration

cs-api-definition
public MouseSelectionMode MouseSelectionMode { get; set; }

Property Value

MouseSelectionMode

MouseShiftDragMode

Gets or sets value which specify mouse dragging behaviour when SHIFT key is pressed.

Declaration

cs-api-definition
public MouseDragBehavior MouseShiftDragMode { get; set; }

Property Value

MouseDragBehavior

MouseWheelMode

Gets or sets the mode of mouse wheel.

Declaration

cs-api-definition
public MouseWheelBehavior MouseWheelMode { get; set; }

Property Value

MouseWheelBehavior

MouseWheelSensitivity

Gets or sets the sensitivity of mouse wheel.

Declaration

cs-api-definition
public double MouseWheelSensitivity { get; set; }

Property Value

double

NavigationVisibility

Gets or sets visibility of the embedded MapNavigation UI control (the arrows navigation).

Declaration

cs-api-definition
public Visibility NavigationVisibility { get; set; }

Property Value

Visibility

PinchManipulationSensitivity

Gets or sets sensitivity of the pinch manipulation on the touch screens.

Declaration

cs-api-definition
public double PinchManipulationSensitivity { get; set; }

Property Value

double

Remarks

The value must be in the [0..1] range.

Provider

Get or sets map provider.

Declaration

cs-api-definition
public MapProviderBase Provider { get; set; }

Property Value

MapProviderBase

Providers

Gets collection of the map image providers.

Declaration

cs-api-definition
public MapProviderCollection Providers { get; }

Property Value

MapProviderCollection

ScaleVisibility

Gets or sets visibility of the embedded MapScale UI control.

Declaration

cs-api-definition
public Visibility ScaleVisibility { get; set; }

Property Value

Visibility

SpatialReference

Gets or sets current Spatial Reference of the Map control.

Declaration

cs-api-definition
public ISpatialReference SpatialReference { get; set; }

Property Value

ISpatialReference

SpringAnimationsMode

Gets or sets mode of map animation.

Declaration

cs-api-definition
public SpringAnimationsMode SpringAnimationsMode { get; set; }

Property Value

SpringAnimationsMode

UseDefaultLayout

Gets or sets value which indicates whether map control should use default layout for navigation and map mode controls.

Declaration

cs-api-definition
public bool UseDefaultLayout { get; set; }

Property Value

bool

UseSpringAnimations

Gets or sets value which indicates whether spring animations are enabled.

Declaration

cs-api-definition
public bool UseSpringAnimations { get; set; }

Property Value

bool

WrapAround

Gets or sets a value indicating whether Map Wraparound Mode is Enabled. When in WrapAround mode - the map always covers the viewport horizontally, panning can be considered unlimited.

Declaration

cs-api-definition
public bool WrapAround { get; set; }

Property Value

bool

Zoom

Gets or sets the current zoom. Should be value between 1.0 and 20.0. It automatically sets the ZoomLevel to the biggest integer which is below the current double value.

Declaration

cs-api-definition
public double Zoom { get; set; }

Property Value

double

ZoomBarDropDownHeight

Gets or sets height of the embedded MapZoomBar drop down.

Declaration

cs-api-definition
public double ZoomBarDropDownHeight { get; set; }

Property Value

double

ZoomBarPresetsVisibility

Gets or sets the visibility of the MapZoomBar preset buttons that zoom to predefined levels on the map (World, State, Region, City, Hood).

Declaration

cs-api-definition
public Visibility ZoomBarPresetsVisibility { get; set; }

Property Value

Visibility

ZoomBarVisibility

Gets or sets visibility of the embedded MapZoomBar UI control.

Declaration

cs-api-definition
public Visibility ZoomBarVisibility { get; set; }

Property Value

Visibility

ZoomLevel

Gets or sets zoom level.

Declaration

cs-api-definition
public int ZoomLevel { get; set; }

Property Value

int

ZoomStep

Gets or sets a value indicating the zoom step when zooming with mouse or map zoom bar control.

Declaration

cs-api-definition
public double ZoomStep { get; set; }

Property Value

double

Methods

ArrangeOverride(Size)

Called to arrange and size the content.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

The computed size that is used to arrange the content.

Returns

Size

The calculated size.

ClearContainerForItemOverride(DependencyObject, object)

Undoes the effects of the PrepareContainerForItemOverride method.

Declaration

cs-api-definition
protected override void ClearContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

The container element.

item

object

The item.

Dispose()

Dispose all resources are used by RadMap control.

Declaration

cs-api-definition
public void Dispose()

ExportToImage(Stream, bool, BitmapEncoder)

Exports the current viewport of the map into a steam.

Declaration

cs-api-definition
public void ExportToImage(Stream stream, bool includeMapObjects = false, BitmapEncoder encoder = null)

Parameters

stream

Stream

The stream to which the map should be exported.

includeMapObjects

bool

Indicates whether to include or not the objects from the information / visualization layers.

encoder

BitmapEncoder

The encoder used for the export.

ExportToImage(string, bool, BitmapEncoder)

Exports the current viewport of the map into a file with the given fileName parameter.

Declaration

cs-api-definition
public void ExportToImage(string fileName, bool includeMapObjects = false, BitmapEncoder encoder = null)

Parameters

fileName

string

The name of the file to which the map should be exported.

includeMapObjects

bool

Indicates whether to include or not the objects from the information / visualization layers.

encoder

BitmapEncoder

The encoder used for the export.

GetCoercedLocation(Location)

Gets a Location in longitude range(-180;180) by shifting the given location's longitude.

Declaration

cs-api-definition
public Location GetCoercedLocation(Location location)

Parameters

location

Location

Returns

Location

GetCoercedLocationRect(LocationRect)

Gets a LocationRect whose West is in longitude range(-180;180) by shifting the given LocationRect West longitude.

Declaration

cs-api-definition
public LocationRect GetCoercedLocationRect(LocationRect baseRect)

Parameters

baseRect

LocationRect

Returns

LocationRect

GetGeoSize(Location, Size)

Calculates degree size according to base point and zoom.

Declaration

cs-api-definition
public Size GetGeoSize(Location basePoint, Size pixelSize)

Parameters

basePoint

Location

Base point.

pixelSize

Size

The size in pixels.

Returns

Size

Size in degree.

GetLatitudeLongitudeSize(Location, double, double)

Calculates degree size according to base point and zoom.

Declaration

cs-api-definition
public Size GetLatitudeLongitudeSize(Location basePoint, double width, double height)

Parameters

basePoint

Location

Base point.

width

double

The width in units according to DistanceUnit property.

height

double

The height in units according to DistanceUnit property.

Returns

Size

Size in degree.

GetPixelSize(Location, double, double)

Calculates pixel size according to base point and zoom.

Declaration

cs-api-definition
public Size GetPixelSize(Location basePoint, double width, double height)

Parameters

basePoint

Location

Base point.

width

double

The width in units according to DistanceUnit property.

height

double

The height in units according to DistanceUnit property.

Returns

Size

Size in pixels.

GetPixelSizeAtZoomLevel(LocationRect, int)

Gets pixel size of the specified geographic region for the given zoom level.

Declaration

cs-api-definition
public Size GetPixelSizeAtZoomLevel(LocationRect geoRegion, int zoomLevel)

Parameters

geoRegion

LocationRect

Geographical region to get pixel size for.

zoomLevel

int

Zoom level.

Returns

Size

Pixel size of the region.

GetPixelsDistance(double)

Calculates horizontal pixel distance according to latitude and zoom.

Declaration

cs-api-definition
public double GetPixelsDistance(double distance)

Parameters

distance

double

The distance in units according to DistanceUnit property.

Returns

double

Horizontal distance in pixels.

GetShiftedLocation(Location, Location?)

Gets a Location shifted with offset equal to the offset by which the current center is shifted outside longitude range (-180;180).

Declaration

cs-api-definition
public Location GetShiftedLocation(Location baseLocation, Location? center = null)

Parameters

baseLocation

Location

center

Location?

Returns

Location

IsVisible(Location)

Detect whether given location is visible in the map control.

Declaration

cs-api-definition
public bool IsVisible(Location location)

Parameters

location

Location

Returns

bool

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnMouseDoubleClick(MouseButtonEventArgs)

Handles the routed event.

Declaration

cs-api-definition
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)

Parameters

e

MouseButtonEventArgs

The event data.

OnMouseWheel(MouseWheelEventArgs)

The MouseWheel event handler.

Declaration

cs-api-definition
protected override void OnMouseWheel(MouseWheelEventArgs e)

Parameters

e

MouseWheelEventArgs

Event arguments.

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

Declaration

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

Element used to display the specified item.

item

object

Specified item.

RefreshCommandBar()

Refresh default command bar regardless whether map provider has been changed or not.

Declaration

cs-api-definition
public void RefreshCommandBar()

SetView(LocationRect, bool)

Sets ZoomLevel and Center so the given LocationRect object is completely visible.

Declaration

cs-api-definition
public void SetView(LocationRect view, bool useFractionZoom = false)

Parameters

view

LocationRect

The location rect that should be centered in the map viewport.

useFractionZoom

bool

Sets a value indicating whether the zooming of the view should use the fractional part of calculated zoom level.

SetView(LocationRect, double)

Sets ZoomLevel and Center so the given LocationRect object, including minimum padding around it is completely visible in viewport. After this operation, zoom property is expected to have non-integer value with fractional digits.

Declaration

cs-api-definition
public void SetView(LocationRect view, double minimumPadding)

Parameters

view

LocationRect

The location rect that should be centered in the map viewport.

minimumPadding

double

Sets a value indicating the the minimum padding around the visible view, in pixels.

Events

CenterChanged

Event occurs when the Center property of the map control is changed.

Declaration

cs-api-definition
public event EventHandler CenterChanged

Event Value

EventHandler

CenterChanging

Event occurs when the Center property of the map control starts to change.

Declaration

cs-api-definition
public event EventHandler<PropertyChangingEventArgs> CenterChanging

Event Value

EventHandler<PropertyChangingEventArgs>

InitializeCompleted

Event occurs when initialization of the map control is completed.

Declaration

cs-api-definition
public event EventHandler InitializeCompleted

Event Value

EventHandler

MapMouseClick

Occurs when the user clicks on the map.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")]
public event MouseRoutedEventHandler MapMouseClick

Event Value

MouseRoutedEventHandler

MapMouseDoubleClick

Occurs when the user does double click on the map.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly")]
public event MouseRoutedEventHandler MapMouseDoubleClick

Event Value

MouseRoutedEventHandler

PanningFinished

Event occurs when panning of the map finished (spring animation which started when map center has been changed is finished).

Declaration

cs-api-definition
public event RoutedEventHandler PanningFinished

Event Value

RoutedEventHandler

SelectionRectangleChanged

Event occurs when new geographical region is selected by mouse (the MouseDragBehavior is "Select" and MouseSelectionMode is "RaiseEvent").

Declaration

cs-api-definition
public event EventHandler<SelectionRectangleChangedEventArgs> SelectionRectangleChanged

Event Value

EventHandler<SelectionRectangleChangedEventArgs>

ZoomChanged

Event occurs when the Zoom property of the map control is changed.

Declaration

cs-api-definition
public event EventHandler ZoomChanged

Event Value

EventHandler

ZoomChanging

Event occurs when the ZoomLevel property of the map control starts to change.

Declaration

cs-api-definition
public event EventHandler<PropertyChangingEventArgs> ZoomChanging

Event Value

EventHandler<PropertyChangingEventArgs>

ZoomingFinished

Event occurs when zooming of the map finished (spring animation which started when map zoom level has been changed is finished).

Declaration

cs-api-definition
public event RoutedEventHandler ZoomingFinished

Event Value

RoutedEventHandler

In this article
DefinitionConstructorsRadMap()FieldsCenterPropertyCommandBarVisibilityPropertyDistanceUnitPropertyGeoBoundsNWPropertyGeoBoundsPropertyGeoBoundsSEPropertyIsKeyboardNavigationEnabledPropertyIsMiniMapExpandedPropertyMapMouseClickEventMapMouseDoubleClickEventMaxZoomLevelPropertyMinZoomLevelPropertyMiniMapExpanderVisibilityPropertyMiniMapHeightPropertyMiniMapWidthPropertyMouseClickModePropertyMouseDoubleClickModePropertyMouseDragModePropertyMouseLocationIndicatorVisibilityPropertyMouseSelectionModePropertyMouseShiftDragModePropertyMouseWheelModePropertyMouseWheelSensitivityPropertyNavigationVisibilityPropertyPanningFinishedEventProviderPropertyProvidersPropertyScaleVisibilityPropertySpringAnimationsModePropertyUseDefaultLayoutPropertyUseSpringAnimationsPropertyWrapAroundPropertyZoomBarDropDownHeightPropertyZoomBarPresetsVisibilityPropertyZoomBarVisibilityPropertyZoomLevelPropertyZoomPropertyZoomStepPropertyZoomingFinishedEventPropertiesCenterCommandBarVisibilityDistanceUnitGeoBoundsGeoBoundsNWGeoBoundsSEGeographicalBoundsIsInitializedIsKeyboardNavigationEnabledIsMiniMapExpandedLocationRectMapZoomBarMaxZoomLevelMinZoomLevelMiniMapExpanderVisibilityMiniMapHeightMiniMapWidthMouseClickModeMouseDoubleClickModeMouseDragModeMouseLocationIndicatorVisibilityMouseSelectionModeMouseShiftDragModeMouseWheelModeMouseWheelSensitivityNavigationVisibilityPinchManipulationSensitivityProviderProvidersScaleVisibilitySpatialReferenceSpringAnimationsModeUseDefaultLayoutUseSpringAnimationsWrapAroundZoomZoomBarDropDownHeightZoomBarPresetsVisibilityZoomBarVisibilityZoomLevelZoomStepMethodsArrangeOverride(Size)ClearContainerForItemOverride(DependencyObject, object)Dispose()ExportToImage(Stream, bool, BitmapEncoder)ExportToImage(string, bool, BitmapEncoder)GetCoercedLocation(Location)GetCoercedLocationRect(LocationRect)GetGeoSize(Location, Size)GetLatitudeLongitudeSize(Location, double, double)GetPixelSize(Location, double, double)GetPixelSizeAtZoomLevel(LocationRect, int)GetPixelsDistance(double)GetShiftedLocation(Location, Location?)IsVisible(Location)OnApplyTemplate()OnCreateAutomationPeer()OnInitialized(EventArgs)OnMouseDoubleClick(MouseButtonEventArgs)OnMouseWheel(MouseWheelEventArgs)PrepareContainerForItemOverride(DependencyObject, object)RefreshCommandBar()SetView(LocationRect, bool)SetView(LocationRect, double)EventsCenterChangedCenterChangingInitializeCompletedMapMouseClickMapMouseDoubleClickPanningFinishedSelectionRectangleChangedZoomChangedZoomChangingZoomingFinished
Not finding the help you need?
Contact Support