The requested page is not available for the requested platform. You are viewing the content for Default platform.

MapControl Members

A Map control to display raster and vector maps.

Constructors

Name Description
MapControl()

Initializes a new instance of the MapControl class with default settings.

Fields

Name Description
ColorizerProperty

Identifies the MapControl.Colorizer dependency property.

EnableAnimationProperty

Identifies the MapControl.EnableAnimation dependency property.

EnableAntialiasingProperty

Identifies the MapControl.EnableAntialiasing dependency property.

EnableNavigationProperty

Identifies the MapControl.EnableNavigation dependency property.

EnableScrollingProperty

Identifies the MapControl.EnableScrolling dependency property.

EnableZoomingProperty

Identifies the MapControl.EnableZooming dependency property.

MapCenterPointProperty
NavigationPanelOptionsProperty

Identifies the MapControl.NavigationPanelOptions dependency property.

SelectionModeProperty

Identifies the MapControl.SelectionMode dependency property.

ToolTipEnabledProperty

Identifies the MapControl.ToolTipEnabled dependency property.

ToolTipTemplateProperty

Identifies the MapControl.ToolTipTemplate dependency property.

ZoomLevelProperty

Identifies the MapControl.ZoomLevel dependency property.

Properties

Name Description
ActualNavigationPanelOptions

Gets the actual options of a Navigation Panel.

Colorizer

Gets or sets a value specifying the map colorizer (choropleth colorizer or graph colorizer) with which to colorize map shapes.

EnableAnimation

Gets or sets a value that specifies whether animation is enabled for a map control.

EnableAntialiasing

Gets or sets a value that specifies whether anti-aliasing is enabled for a map control.

EnableNavigation

Gets or sets whether to allow the end-user to scroll the map. This is a dependency property.

EnableScrolling

Gets or sets a value indicating whether or not scrolling is enabled.

EnableZooming

Gets or sets whether to allow the end-user to zoom the map. This is a dependency property.

Layers

Provides access to the collection of layers to be displayed within the MapControl.

MapCenterPoint
NavigationPanelOptions

Provides access to the navigation panel options of a map control.

ScrollCommand

Returns a command that scrolls a map.

SelectionMode

Gets or sets a value specifying how the map control is selected.

ToolTipEnabled

Gets or sets a value that specifies whether or not tooltips are enabled for a map.

ToolTipInfo

Provides access to the ToolTipInfo object that contains settings of built-in map tooltips.

ToolTipTemplate

Gets or sets the template that defines the presentation of the map tooltip.

ZoomCommand

Returns a command that zooms a map.

ZoomLevel

Gets or sets the current zoom level of a Map Control.

Methods

Name Description
CanScroll(Point)

Checks whether or not it is possible to scroll a map by the specified offset.

CanZoom(Double)

Checks whether or not it is possible to zoom a map by the specified zoom level.

Scroll(Point)

Scrolls a map by the specified offset.

Zoom(Double)

Zooms a map to the specified level.

Zoom(Double, Point)

Zooms a map to the specified level around the specified anchor point.

Events

Name Description
SelectionChanged

Occurs when the map selection is changed.

See Also