Edit this page

Properties

Property Description
Providers Gets the providers collection of the map element.
Layers Gets the layers collection of the map element.
InputBehavior Gets or sets the input behavior that will handle the user input.
SelectedElements Gets a collection of the selected elements.
ShowMiniMap Gets or sets a value indicating whether the mini map is visible.
ShowLegend Gets or sets a value indicating whether the legend is visible.
ShowSearchBar Gets or sets a value indicating whether the search bar is visible.
ShowNavigationBar Gets or sets a value indicating whether the navigation bar is visible.
ShowScaleIndicator Gets or sets a value indicating whether the scale indicator is visible.
IsUpdateSuspended Gets a value indicating whether updates are suspended.

Methods

Method Description
Pan(SizeL delta) Pans the viewport with the specified delta.
Pan(long x, long y) Pans the viewport to the specified x and y coordinates.
Zoom(int zoomLevel) Zooms the viewport to the specified zoom level.
Zoom(int zoomLevel, bool animate) Zooms the viewport to the specified zoom level. If animate is set to true the zoom will be animated.
Zoom(int zoomLevel, bool animate, Point center) Zooms the viewport to the specified zoom level. If animate is set to true the zoom will be animated.The point in the viewport around where the zoom should be performed.
BeginUpdate Suspends updates.
EndUpdate Resumes updates and performs an update.
EndUpdate Resumes updates and performs an update if specified by the update parameter.
BringIntoView Brings the specified geo point into the center of the viewport.
BringIntoView Brings the specified geo point into the center of the viewport and zooms the viewport to the specified zoom level.
BringIntoView Calculates the best zoom level that will fit the specified rectangle and centers it in the viewport.

Events

Event Description
SelectionChanged Occurs when a user clicks on a visual element in the layers.

See Also