Show / Hide Table of Contents

Class MapView

A user interface control that displays two-dimensional (2D) geographic content defined by a Map.

Inheritance
System.Object
Microsoft.UI.Xaml.DependencyObject
Microsoft.UI.Xaml.UIElement
Microsoft.UI.Xaml.FrameworkElement
Microsoft.UI.Xaml.Controls.Control
GeoView
MapView
Implements
System.IEquatable<Microsoft.UI.Xaml.DependencyObject>
Microsoft.UI.Composition.IAnimationObject
Microsoft.UI.Composition.IVisualElement
Microsoft.UI.Composition.IVisualElement2
System.IEquatable<Microsoft.UI.Xaml.UIElement>
System.IEquatable<Microsoft.UI.Xaml.FrameworkElement>
WinRT.IWinRTObject
System.Runtime.InteropServices.IDynamicInterfaceCastable
System.IEquatable<Microsoft.UI.Xaml.Controls.Control>
System.ComponentModel.INotifyPropertyChanged
GeoView.OnLostFocus(RoutedEventArgs)
GeoView.DrawStatusChanged
GeoView.LayerViewStateChanged
GeoView.SpatialReferenceChanged
GeoView.ViewpointChanged
GeoView.ShowCalloutForGeoElement(GeoElement, Point, CalloutDefinition)
GeoView.ShowCalloutAt(MapPoint, CalloutDefinition)
GeoView.ShowCalloutAt(MapPoint, UIElement, Point)
GeoView.DismissCallout()
GeoView.IsCalloutVisible
GeoView.ExportImageAsync()
GeoView.GraphicsOverlays
GeoView.GraphicsOverlaysProperty
GeoView.GetCurrentViewpoint(ViewpointType)
GeoView.SetViewpoint(Viewpoint)
GeoView.SetViewpointAsync(Viewpoint)
GeoView.SetViewpointAsync(Viewpoint, TimeSpan)
GeoView.SetBookmarkAsync(Bookmark)
GeoView.GetLayerViewState(Layer)
GeoView.IdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean)
GeoView.IdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean, Int64)
GeoView.IdentifyGraphicsOverlaysAsync(Point, Double, Boolean)
GeoView.IdentifyGraphicsOverlaysAsync(Point, Double, Boolean, Int64)
GeoView.IdentifyLayerAsync(Layer, Point, Double, Boolean)
GeoView.IdentifyLayerAsync(Layer, Point, Double, Boolean, CancellationToken)
GeoView.IdentifyLayerAsync(Layer, Point, Double, Boolean, Int64)
GeoView.IdentifyLayerAsync(Layer, Point, Double, Boolean, Int64, CancellationToken)
GeoView.IdentifyLayersAsync(Point, Double, Boolean)
GeoView.IdentifyLayersAsync(Point, Double, Boolean, CancellationToken)
GeoView.IdentifyLayersAsync(Point, Double, Boolean, Int64)
GeoView.IdentifyLayersAsync(Point, Double, Boolean, Int64, CancellationToken)
GeoView.GeoViewTapped
GeoView.GeoViewDoubleTapped
GeoView.GeoViewHolding
GeoView.INotifyPropertyChanged.PropertyChanged
GeoView.IsAttributionTextVisible
GeoView.AttributionText
GeoView.IsAttributionTextVisibleProperty
GeoView.SpatialReference
GeoView.IsWrapAroundEnabled
GeoView.IsNavigating
GeoView.NavigationCompleted
GeoView.DrawStatus
GeoView.ViewInsets
GeoView.ViewInsetsProperty
GeoView.TimeExtent
GeoView.TimeExtentProperty
GeoView.Overlays
GeoView.OverlaysProperty
GeoView.GetViewOverlayAnchor(FrameworkElement)
GeoView.SetViewOverlayAnchor(FrameworkElement, MapPoint)
GeoView.ViewOverlayAnchorProperty
GeoView.SelectionProperties
GeoView.SelectionPropertiesProperty
GeoView.Labeling
GeoView.LabelingProperty
GeoView.Grid
GeoView.GridProperty
GeoView.ImageOverlays
GeoView.ImageOverlaysProperty
Microsoft.UI.Xaml.Controls.Control.As<I>()
Microsoft.UI.Xaml.Controls.Control.GetIsTemplateFocusTarget(Microsoft.UI.Xaml.FrameworkElement)
Microsoft.UI.Xaml.Controls.Control.SetIsTemplateFocusTarget(Microsoft.UI.Xaml.FrameworkElement, System.Boolean)
Microsoft.UI.Xaml.Controls.Control.GetIsTemplateKeyTipTarget(Microsoft.UI.Xaml.DependencyObject)
Microsoft.UI.Xaml.Controls.Control.SetIsTemplateKeyTipTarget(Microsoft.UI.Xaml.DependencyObject, System.Boolean)
Microsoft.UI.Xaml.Controls.Control.FromAbi(System.IntPtr)
Microsoft.UI.Xaml.Controls.Control.Equals(Microsoft.UI.Xaml.Controls.Control)
Microsoft.UI.Xaml.Controls.Control.Equals(System.Object)
Microsoft.UI.Xaml.Controls.Control.GetHashCode()
Microsoft.UI.Xaml.Controls.Control.RemoveFocusEngagement()
Microsoft.UI.Xaml.Controls.Control.ApplyTemplate()
Microsoft.UI.Xaml.Controls.Control.GetTemplateChild(System.String)
Microsoft.UI.Xaml.Controls.Control.OnPointerEntered(Microsoft.UI.Xaml.Input.PointerRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnPointerPressed(Microsoft.UI.Xaml.Input.PointerRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnPointerMoved(Microsoft.UI.Xaml.Input.PointerRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnPointerReleased(Microsoft.UI.Xaml.Input.PointerRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnPointerExited(Microsoft.UI.Xaml.Input.PointerRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnPointerCaptureLost(Microsoft.UI.Xaml.Input.PointerRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnPointerCanceled(Microsoft.UI.Xaml.Input.PointerRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnPointerWheelChanged(Microsoft.UI.Xaml.Input.PointerRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnTapped(Microsoft.UI.Xaml.Input.TappedRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnDoubleTapped(Microsoft.UI.Xaml.Input.DoubleTappedRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnHolding(Microsoft.UI.Xaml.Input.HoldingRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnRightTapped(Microsoft.UI.Xaml.Input.RightTappedRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnManipulationStarting(Microsoft.UI.Xaml.Input.ManipulationStartingRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnManipulationInertiaStarting(Microsoft.UI.Xaml.Input.ManipulationInertiaStartingRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnManipulationStarted(Microsoft.UI.Xaml.Input.ManipulationStartedRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnManipulationDelta(Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnManipulationCompleted(Microsoft.UI.Xaml.Input.ManipulationCompletedRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnKeyUp(Microsoft.UI.Xaml.Input.KeyRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnKeyDown(Microsoft.UI.Xaml.Input.KeyRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnPreviewKeyDown(Microsoft.UI.Xaml.Input.KeyRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnPreviewKeyUp(Microsoft.UI.Xaml.Input.KeyRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnGotFocus(Microsoft.UI.Xaml.RoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnCharacterReceived(Microsoft.UI.Xaml.Input.CharacterReceivedRoutedEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnDragEnter(Microsoft.UI.Xaml.DragEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnDragLeave(Microsoft.UI.Xaml.DragEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnDragOver(Microsoft.UI.Xaml.DragEventArgs)
Microsoft.UI.Xaml.Controls.Control.OnDrop(Microsoft.UI.Xaml.DragEventArgs)
Microsoft.UI.Xaml.Controls.Control.IsOverridableInterface(System.Guid)
Microsoft.UI.Xaml.Controls.Control.BackgroundProperty
Microsoft.UI.Xaml.Controls.Control.BackgroundSizingProperty
Microsoft.UI.Xaml.Controls.Control.BorderBrushProperty
Microsoft.UI.Xaml.Controls.Control.BorderThicknessProperty
Microsoft.UI.Xaml.Controls.Control.CharacterSpacingProperty
Microsoft.UI.Xaml.Controls.Control.CornerRadiusProperty
Microsoft.UI.Xaml.Controls.Control.DefaultStyleKeyProperty
Microsoft.UI.Xaml.Controls.Control.DefaultStyleResourceUriProperty
Microsoft.UI.Xaml.Controls.Control.ElementSoundModeProperty
Microsoft.UI.Xaml.Controls.Control.FontFamilyProperty
Microsoft.UI.Xaml.Controls.Control.FontSizeProperty
Microsoft.UI.Xaml.Controls.Control.FontStretchProperty
Microsoft.UI.Xaml.Controls.Control.FontStyleProperty
Microsoft.UI.Xaml.Controls.Control.FontWeightProperty
Microsoft.UI.Xaml.Controls.Control.ForegroundProperty
Microsoft.UI.Xaml.Controls.Control.HorizontalContentAlignmentProperty
Microsoft.UI.Xaml.Controls.Control.IsEnabledProperty
Microsoft.UI.Xaml.Controls.Control.IsFocusEngagedProperty
Microsoft.UI.Xaml.Controls.Control.IsFocusEngagementEnabledProperty
Microsoft.UI.Xaml.Controls.Control.IsTemplateFocusTargetProperty
Microsoft.UI.Xaml.Controls.Control.IsTemplateKeyTipTargetProperty
Microsoft.UI.Xaml.Controls.Control.IsTextScaleFactorEnabledProperty
Microsoft.UI.Xaml.Controls.Control.PaddingProperty
Microsoft.UI.Xaml.Controls.Control.RequiresPointerProperty
Microsoft.UI.Xaml.Controls.Control.TabNavigationProperty
Microsoft.UI.Xaml.Controls.Control.TemplateProperty
Microsoft.UI.Xaml.Controls.Control.VerticalContentAlignmentProperty
Microsoft.UI.Xaml.Controls.Control.WinRT.IWinRTObject.HasUnwrappableNativeObject
Microsoft.UI.Xaml.Controls.Control.WinRT.IWinRTObject.NativeObject
Microsoft.UI.Xaml.Controls.Control.Background
Microsoft.UI.Xaml.Controls.Control.BackgroundSizing
Microsoft.UI.Xaml.Controls.Control.BorderBrush
Microsoft.UI.Xaml.Controls.Control.BorderThickness
Microsoft.UI.Xaml.Controls.Control.CharacterSpacing
Microsoft.UI.Xaml.Controls.Control.CornerRadius
Microsoft.UI.Xaml.Controls.Control.DefaultStyleKey
Microsoft.UI.Xaml.Controls.Control.DefaultStyleResourceUri
Microsoft.UI.Xaml.Controls.Control.ElementSoundMode
Microsoft.UI.Xaml.Controls.Control.FontFamily
Microsoft.UI.Xaml.Controls.Control.FontSize
Microsoft.UI.Xaml.Controls.Control.FontStretch
Microsoft.UI.Xaml.Controls.Control.FontStyle
Microsoft.UI.Xaml.Controls.Control.FontWeight
Microsoft.UI.Xaml.Controls.Control.Foreground
Microsoft.UI.Xaml.Controls.Control.HorizontalContentAlignment
Microsoft.UI.Xaml.Controls.Control.IsEnabled
Microsoft.UI.Xaml.Controls.Control.IsFocusEngaged
Microsoft.UI.Xaml.Controls.Control.IsFocusEngagementEnabled
Microsoft.UI.Xaml.Controls.Control.IsTextScaleFactorEnabled
Microsoft.UI.Xaml.Controls.Control.Padding
Microsoft.UI.Xaml.Controls.Control.RequiresPointer
Microsoft.UI.Xaml.Controls.Control.TabNavigation
Microsoft.UI.Xaml.Controls.Control.Template
Microsoft.UI.Xaml.Controls.Control.VerticalContentAlignment
Microsoft.UI.Xaml.Controls.Control.FocusDisengaged
Microsoft.UI.Xaml.Controls.Control.FocusEngaged
Microsoft.UI.Xaml.Controls.Control.IsEnabledChanged
Microsoft.UI.Xaml.FrameworkElement.DeferTree(Microsoft.UI.Xaml.DependencyObject)
Microsoft.UI.Xaml.FrameworkElement.Equals(Microsoft.UI.Xaml.FrameworkElement)
Microsoft.UI.Xaml.FrameworkElement.FindName(System.String)
Microsoft.UI.Xaml.FrameworkElement.SetBinding(Microsoft.UI.Xaml.DependencyProperty, Microsoft.UI.Xaml.Data.BindingBase)
Microsoft.UI.Xaml.FrameworkElement.GetBindingExpression(Microsoft.UI.Xaml.DependencyProperty)
Microsoft.UI.Xaml.FrameworkElement.InvalidateViewport()
Microsoft.UI.Xaml.FrameworkElement.MeasureOverride(Windows.Foundation.Size)
Microsoft.UI.Xaml.FrameworkElement.ArrangeOverride(Windows.Foundation.Size)
Microsoft.UI.Xaml.FrameworkElement.GoToElementStateCore(System.String, System.Boolean)
Microsoft.UI.Xaml.FrameworkElement.ActualHeightProperty
Microsoft.UI.Xaml.FrameworkElement.ActualThemeProperty
Microsoft.UI.Xaml.FrameworkElement.ActualWidthProperty
Microsoft.UI.Xaml.FrameworkElement.AllowFocusOnInteractionProperty
Microsoft.UI.Xaml.FrameworkElement.AllowFocusWhenDisabledProperty
Microsoft.UI.Xaml.FrameworkElement.DataContextProperty
Microsoft.UI.Xaml.FrameworkElement.FlowDirectionProperty
Microsoft.UI.Xaml.FrameworkElement.FocusVisualMarginProperty
Microsoft.UI.Xaml.FrameworkElement.FocusVisualPrimaryBrushProperty
Microsoft.UI.Xaml.FrameworkElement.FocusVisualPrimaryThicknessProperty
Microsoft.UI.Xaml.FrameworkElement.FocusVisualSecondaryBrushProperty
Microsoft.UI.Xaml.FrameworkElement.FocusVisualSecondaryThicknessProperty
Microsoft.UI.Xaml.FrameworkElement.HeightProperty
Microsoft.UI.Xaml.FrameworkElement.HorizontalAlignmentProperty
Microsoft.UI.Xaml.FrameworkElement.LanguageProperty
Microsoft.UI.Xaml.FrameworkElement.MarginProperty
Microsoft.UI.Xaml.FrameworkElement.MaxHeightProperty
Microsoft.UI.Xaml.FrameworkElement.MaxWidthProperty
Microsoft.UI.Xaml.FrameworkElement.MinHeightProperty
Microsoft.UI.Xaml.FrameworkElement.MinWidthProperty
Microsoft.UI.Xaml.FrameworkElement.NameProperty
Microsoft.UI.Xaml.FrameworkElement.RequestedThemeProperty
Microsoft.UI.Xaml.FrameworkElement.StyleProperty
Microsoft.UI.Xaml.FrameworkElement.TagProperty
Microsoft.UI.Xaml.FrameworkElement.VerticalAlignmentProperty
Microsoft.UI.Xaml.FrameworkElement.WidthProperty
Microsoft.UI.Xaml.FrameworkElement.ActualHeight
Microsoft.UI.Xaml.FrameworkElement.ActualTheme
Microsoft.UI.Xaml.FrameworkElement.ActualWidth
Microsoft.UI.Xaml.FrameworkElement.AllowFocusOnInteraction
Microsoft.UI.Xaml.FrameworkElement.AllowFocusWhenDisabled
Microsoft.UI.Xaml.FrameworkElement.BaseUri
Microsoft.UI.Xaml.FrameworkElement.DataContext
Microsoft.UI.Xaml.FrameworkElement.FlowDirection
Microsoft.UI.Xaml.FrameworkElement.FocusVisualMargin
Microsoft.UI.Xaml.FrameworkElement.FocusVisualPrimaryBrush
Microsoft.UI.Xaml.FrameworkElement.FocusVisualPrimaryThickness
Microsoft.UI.Xaml.FrameworkElement.FocusVisualSecondaryBrush
Microsoft.UI.Xaml.FrameworkElement.FocusVisualSecondaryThickness
Microsoft.UI.Xaml.FrameworkElement.Height
Microsoft.UI.Xaml.FrameworkElement.HorizontalAlignment
Microsoft.UI.Xaml.FrameworkElement.IsLoaded
Microsoft.UI.Xaml.FrameworkElement.Language
Microsoft.UI.Xaml.FrameworkElement.Margin
Microsoft.UI.Xaml.FrameworkElement.MaxHeight
Microsoft.UI.Xaml.FrameworkElement.MaxWidth
Microsoft.UI.Xaml.FrameworkElement.MinHeight
Microsoft.UI.Xaml.FrameworkElement.MinWidth
Microsoft.UI.Xaml.FrameworkElement.Name
Microsoft.UI.Xaml.FrameworkElement.Parent
Microsoft.UI.Xaml.FrameworkElement.RequestedTheme
Microsoft.UI.Xaml.FrameworkElement.Resources
Microsoft.UI.Xaml.FrameworkElement.Style
Microsoft.UI.Xaml.FrameworkElement.Tag
Microsoft.UI.Xaml.FrameworkElement.Triggers
Microsoft.UI.Xaml.FrameworkElement.VerticalAlignment
Microsoft.UI.Xaml.FrameworkElement.Width
Microsoft.UI.Xaml.FrameworkElement.ActualThemeChanged
Microsoft.UI.Xaml.FrameworkElement.DataContextChanged
Microsoft.UI.Xaml.FrameworkElement.EffectiveViewportChanged
Microsoft.UI.Xaml.FrameworkElement.LayoutUpdated
Microsoft.UI.Xaml.FrameworkElement.Loaded
Microsoft.UI.Xaml.FrameworkElement.Loading
Microsoft.UI.Xaml.FrameworkElement.SizeChanged
Microsoft.UI.Xaml.FrameworkElement.Unloaded
Microsoft.UI.Xaml.UIElement.TryStartDirectManipulation(Microsoft.UI.Xaml.Input.Pointer)
Microsoft.UI.Xaml.UIElement.RegisterAsScrollPort(Microsoft.UI.Xaml.UIElement)
Microsoft.UI.Xaml.UIElement.Equals(Microsoft.UI.Xaml.UIElement)
Microsoft.UI.Xaml.UIElement.Measure(Windows.Foundation.Size)
Microsoft.UI.Xaml.UIElement.Arrange(Windows.Foundation.Rect)
Microsoft.UI.Xaml.UIElement.CapturePointer(Microsoft.UI.Xaml.Input.Pointer)
Microsoft.UI.Xaml.UIElement.ReleasePointerCapture(Microsoft.UI.Xaml.Input.Pointer)
Microsoft.UI.Xaml.UIElement.ReleasePointerCaptures()
Microsoft.UI.Xaml.UIElement.AddHandler(Microsoft.UI.Xaml.RoutedEvent, System.Object, System.Boolean)
Microsoft.UI.Xaml.UIElement.RemoveHandler(Microsoft.UI.Xaml.RoutedEvent, System.Object)
Microsoft.UI.Xaml.UIElement.TransformToVisual(Microsoft.UI.Xaml.UIElement)
Microsoft.UI.Xaml.UIElement.InvalidateMeasure()
Microsoft.UI.Xaml.UIElement.InvalidateArrange()
Microsoft.UI.Xaml.UIElement.UpdateLayout()
Microsoft.UI.Xaml.UIElement.CancelDirectManipulations()
Microsoft.UI.Xaml.UIElement.StartDragAsync(Microsoft.UI.Input.PointerPoint)
Microsoft.UI.Xaml.UIElement.StartBringIntoView()
Microsoft.UI.Xaml.UIElement.StartBringIntoView(Microsoft.UI.Xaml.BringIntoViewOptions)
Microsoft.UI.Xaml.UIElement.TryInvokeKeyboardAccelerator(Microsoft.UI.Xaml.Input.ProcessKeyboardAcceleratorEventArgs)
Microsoft.UI.Xaml.UIElement.Focus(Microsoft.UI.Xaml.FocusState)
Microsoft.UI.Xaml.UIElement.StartAnimation(Microsoft.UI.Composition.ICompositionAnimationBase)
Microsoft.UI.Xaml.UIElement.StopAnimation(Microsoft.UI.Composition.ICompositionAnimationBase)
Microsoft.UI.Xaml.UIElement.OnDisconnectVisualChildren()
Microsoft.UI.Xaml.UIElement.FindSubElementsForTouchTargeting(Windows.Foundation.Point, Windows.Foundation.Rect)
Microsoft.UI.Xaml.UIElement.GetChildrenInTabFocusOrder()
Microsoft.UI.Xaml.UIElement.OnKeyboardAcceleratorInvoked(Microsoft.UI.Xaml.Input.KeyboardAcceleratorInvokedEventArgs)
Microsoft.UI.Xaml.UIElement.OnProcessKeyboardAccelerators(Microsoft.UI.Xaml.Input.ProcessKeyboardAcceleratorEventArgs)
Microsoft.UI.Xaml.UIElement.OnBringIntoViewRequested(Microsoft.UI.Xaml.BringIntoViewRequestedEventArgs)
Microsoft.UI.Xaml.UIElement.PopulatePropertyInfoOverride(System.String, Microsoft.UI.Composition.AnimationPropertyInfo)
Microsoft.UI.Xaml.UIElement.PopulatePropertyInfo(System.String, Microsoft.UI.Composition.AnimationPropertyInfo)
Microsoft.UI.Xaml.UIElement.GetVisualInternal()
Microsoft.UI.Xaml.UIElement.AccessKeyProperty
Microsoft.UI.Xaml.UIElement.AccessKeyScopeOwnerProperty
Microsoft.UI.Xaml.UIElement.AllowDropProperty
Microsoft.UI.Xaml.UIElement.BringIntoViewRequestedEvent
Microsoft.UI.Xaml.UIElement.CacheModeProperty
Microsoft.UI.Xaml.UIElement.CanBeScrollAnchorProperty
Microsoft.UI.Xaml.UIElement.CanDragProperty
Microsoft.UI.Xaml.UIElement.CharacterReceivedEvent
Microsoft.UI.Xaml.UIElement.ClipProperty
Microsoft.UI.Xaml.UIElement.CompositeModeProperty
Microsoft.UI.Xaml.UIElement.ContextFlyoutProperty
Microsoft.UI.Xaml.UIElement.ContextRequestedEvent
Microsoft.UI.Xaml.UIElement.DoubleTappedEvent
Microsoft.UI.Xaml.UIElement.DragEnterEvent
Microsoft.UI.Xaml.UIElement.DragLeaveEvent
Microsoft.UI.Xaml.UIElement.DragOverEvent
Microsoft.UI.Xaml.UIElement.DropEvent
Microsoft.UI.Xaml.UIElement.ExitDisplayModeOnAccessKeyInvokedProperty
Microsoft.UI.Xaml.UIElement.FocusStateProperty
Microsoft.UI.Xaml.UIElement.GettingFocusEvent
Microsoft.UI.Xaml.UIElement.HighContrastAdjustmentProperty
Microsoft.UI.Xaml.UIElement.HoldingEvent
Microsoft.UI.Xaml.UIElement.IsAccessKeyScopeProperty
Microsoft.UI.Xaml.UIElement.IsDoubleTapEnabledProperty
Microsoft.UI.Xaml.UIElement.IsHitTestVisibleProperty
Microsoft.UI.Xaml.UIElement.IsHoldingEnabledProperty
Microsoft.UI.Xaml.UIElement.IsRightTapEnabledProperty
Microsoft.UI.Xaml.UIElement.IsTabStopProperty
Microsoft.UI.Xaml.UIElement.IsTapEnabledProperty
Microsoft.UI.Xaml.UIElement.KeyDownEvent
Microsoft.UI.Xaml.UIElement.KeyTipHorizontalOffsetProperty
Microsoft.UI.Xaml.UIElement.KeyTipPlacementModeProperty
Microsoft.UI.Xaml.UIElement.KeyTipTargetProperty
Microsoft.UI.Xaml.UIElement.KeyTipVerticalOffsetProperty
Microsoft.UI.Xaml.UIElement.KeyUpEvent
Microsoft.UI.Xaml.UIElement.KeyboardAcceleratorPlacementModeProperty
Microsoft.UI.Xaml.UIElement.KeyboardAcceleratorPlacementTargetProperty
Microsoft.UI.Xaml.UIElement.LightsProperty
Microsoft.UI.Xaml.UIElement.LosingFocusEvent
Microsoft.UI.Xaml.UIElement.ManipulationCompletedEvent
Microsoft.UI.Xaml.UIElement.ManipulationDeltaEvent
Microsoft.UI.Xaml.UIElement.ManipulationInertiaStartingEvent
Microsoft.UI.Xaml.UIElement.ManipulationModeProperty
Microsoft.UI.Xaml.UIElement.ManipulationStartedEvent
Microsoft.UI.Xaml.UIElement.ManipulationStartingEvent
Microsoft.UI.Xaml.UIElement.NoFocusCandidateFoundEvent
Microsoft.UI.Xaml.UIElement.OpacityProperty
Microsoft.UI.Xaml.UIElement.PointerCanceledEvent
Microsoft.UI.Xaml.UIElement.PointerCaptureLostEvent
Microsoft.UI.Xaml.UIElement.PointerCapturesProperty
Microsoft.UI.Xaml.UIElement.PointerEnteredEvent
Microsoft.UI.Xaml.UIElement.PointerExitedEvent
Microsoft.UI.Xaml.UIElement.PointerMovedEvent
Microsoft.UI.Xaml.UIElement.PointerPressedEvent
Microsoft.UI.Xaml.UIElement.PointerReleasedEvent
Microsoft.UI.Xaml.UIElement.PointerWheelChangedEvent
Microsoft.UI.Xaml.UIElement.PreviewKeyDownEvent
Microsoft.UI.Xaml.UIElement.PreviewKeyUpEvent
Microsoft.UI.Xaml.UIElement.ProjectionProperty
Microsoft.UI.Xaml.UIElement.RenderTransformOriginProperty
Microsoft.UI.Xaml.UIElement.RenderTransformProperty
Microsoft.UI.Xaml.UIElement.RightTappedEvent
Microsoft.UI.Xaml.UIElement.ShadowProperty
Microsoft.UI.Xaml.UIElement.TabFocusNavigationProperty
Microsoft.UI.Xaml.UIElement.TabIndexProperty
Microsoft.UI.Xaml.UIElement.TappedEvent
Microsoft.UI.Xaml.UIElement.Transform3DProperty
Microsoft.UI.Xaml.UIElement.TransitionsProperty
Microsoft.UI.Xaml.UIElement.UseLayoutRoundingProperty
Microsoft.UI.Xaml.UIElement.UseSystemFocusVisualsProperty
Microsoft.UI.Xaml.UIElement.VisibilityProperty
Microsoft.UI.Xaml.UIElement.XYFocusDownNavigationStrategyProperty
Microsoft.UI.Xaml.UIElement.XYFocusDownProperty
Microsoft.UI.Xaml.UIElement.XYFocusKeyboardNavigationProperty
Microsoft.UI.Xaml.UIElement.XYFocusLeftNavigationStrategyProperty
Microsoft.UI.Xaml.UIElement.XYFocusLeftProperty
Microsoft.UI.Xaml.UIElement.XYFocusRightNavigationStrategyProperty
Microsoft.UI.Xaml.UIElement.XYFocusRightProperty
Microsoft.UI.Xaml.UIElement.XYFocusUpNavigationStrategyProperty
Microsoft.UI.Xaml.UIElement.XYFocusUpProperty
Microsoft.UI.Xaml.UIElement.AccessKey
Microsoft.UI.Xaml.UIElement.AccessKeyScopeOwner
Microsoft.UI.Xaml.UIElement.ActualOffset
Microsoft.UI.Xaml.UIElement.ActualSize
Microsoft.UI.Xaml.UIElement.AllowDrop
Microsoft.UI.Xaml.UIElement.CacheMode
Microsoft.UI.Xaml.UIElement.CanBeScrollAnchor
Microsoft.UI.Xaml.UIElement.CanDrag
Microsoft.UI.Xaml.UIElement.CenterPoint
Microsoft.UI.Xaml.UIElement.Clip
Microsoft.UI.Xaml.UIElement.CompositeMode
Microsoft.UI.Xaml.UIElement.ContextFlyout
Microsoft.UI.Xaml.UIElement.DesiredSize
Microsoft.UI.Xaml.UIElement.ExitDisplayModeOnAccessKeyInvoked
Microsoft.UI.Xaml.UIElement.FocusState
Microsoft.UI.Xaml.UIElement.HighContrastAdjustment
Microsoft.UI.Xaml.UIElement.IsAccessKeyScope
Microsoft.UI.Xaml.UIElement.IsDoubleTapEnabled
Microsoft.UI.Xaml.UIElement.IsHitTestVisible
Microsoft.UI.Xaml.UIElement.IsHoldingEnabled
Microsoft.UI.Xaml.UIElement.IsRightTapEnabled
Microsoft.UI.Xaml.UIElement.IsTabStop
Microsoft.UI.Xaml.UIElement.IsTapEnabled
Microsoft.UI.Xaml.UIElement.KeyTipHorizontalOffset
Microsoft.UI.Xaml.UIElement.KeyTipPlacementMode
Microsoft.UI.Xaml.UIElement.KeyTipTarget
Microsoft.UI.Xaml.UIElement.KeyTipVerticalOffset
Microsoft.UI.Xaml.UIElement.KeyboardAcceleratorPlacementMode
Microsoft.UI.Xaml.UIElement.KeyboardAcceleratorPlacementTarget
Microsoft.UI.Xaml.UIElement.KeyboardAccelerators
Microsoft.UI.Xaml.UIElement.Lights
Microsoft.UI.Xaml.UIElement.ManipulationMode
Microsoft.UI.Xaml.UIElement.Opacity
Microsoft.UI.Xaml.UIElement.OpacityTransition
Microsoft.UI.Xaml.UIElement.PointerCaptures
Microsoft.UI.Xaml.UIElement.Projection
Microsoft.UI.Xaml.UIElement.ProtectedCursor
Microsoft.UI.Xaml.UIElement.RasterizationScale
Microsoft.UI.Xaml.UIElement.RenderSize
Microsoft.UI.Xaml.UIElement.RenderTransform
Microsoft.UI.Xaml.UIElement.RenderTransformOrigin
Microsoft.UI.Xaml.UIElement.Rotation
Microsoft.UI.Xaml.UIElement.RotationAxis
Microsoft.UI.Xaml.UIElement.RotationTransition
Microsoft.UI.Xaml.UIElement.Scale
Microsoft.UI.Xaml.UIElement.ScaleTransition
Microsoft.UI.Xaml.UIElement.Shadow
Microsoft.UI.Xaml.UIElement.TabFocusNavigation
Microsoft.UI.Xaml.UIElement.TabIndex
Microsoft.UI.Xaml.UIElement.Transform3D
Microsoft.UI.Xaml.UIElement.TransformMatrix
Microsoft.UI.Xaml.UIElement.Transitions
Microsoft.UI.Xaml.UIElement.Translation
Microsoft.UI.Xaml.UIElement.TranslationTransition
Microsoft.UI.Xaml.UIElement.UseLayoutRounding
Microsoft.UI.Xaml.UIElement.UseSystemFocusVisuals
Microsoft.UI.Xaml.UIElement.Visibility
Microsoft.UI.Xaml.UIElement.XYFocusDown
Microsoft.UI.Xaml.UIElement.XYFocusDownNavigationStrategy
Microsoft.UI.Xaml.UIElement.XYFocusKeyboardNavigation
Microsoft.UI.Xaml.UIElement.XYFocusLeft
Microsoft.UI.Xaml.UIElement.XYFocusLeftNavigationStrategy
Microsoft.UI.Xaml.UIElement.XYFocusRight
Microsoft.UI.Xaml.UIElement.XYFocusRightNavigationStrategy
Microsoft.UI.Xaml.UIElement.XYFocusUp
Microsoft.UI.Xaml.UIElement.XYFocusUpNavigationStrategy
Microsoft.UI.Xaml.UIElement.XamlRoot
Microsoft.UI.Xaml.UIElement.AccessKeyDisplayDismissed
Microsoft.UI.Xaml.UIElement.AccessKeyDisplayRequested
Microsoft.UI.Xaml.UIElement.AccessKeyInvoked
Microsoft.UI.Xaml.UIElement.BringIntoViewRequested
Microsoft.UI.Xaml.UIElement.CharacterReceived
Microsoft.UI.Xaml.UIElement.ContextCanceled
Microsoft.UI.Xaml.UIElement.ContextRequested
Microsoft.UI.Xaml.UIElement.DoubleTapped
Microsoft.UI.Xaml.UIElement.DragEnter
Microsoft.UI.Xaml.UIElement.DragLeave
Microsoft.UI.Xaml.UIElement.DragOver
Microsoft.UI.Xaml.UIElement.DragStarting
Microsoft.UI.Xaml.UIElement.Drop
Microsoft.UI.Xaml.UIElement.DropCompleted
Microsoft.UI.Xaml.UIElement.GettingFocus
Microsoft.UI.Xaml.UIElement.GotFocus
Microsoft.UI.Xaml.UIElement.Holding
Microsoft.UI.Xaml.UIElement.KeyDown
Microsoft.UI.Xaml.UIElement.KeyUp
Microsoft.UI.Xaml.UIElement.LosingFocus
Microsoft.UI.Xaml.UIElement.LostFocus
Microsoft.UI.Xaml.UIElement.ManipulationCompleted
Microsoft.UI.Xaml.UIElement.ManipulationDelta
Microsoft.UI.Xaml.UIElement.ManipulationInertiaStarting
Microsoft.UI.Xaml.UIElement.ManipulationStarted
Microsoft.UI.Xaml.UIElement.ManipulationStarting
Microsoft.UI.Xaml.UIElement.NoFocusCandidateFound
Microsoft.UI.Xaml.UIElement.PointerCanceled
Microsoft.UI.Xaml.UIElement.PointerCaptureLost
Microsoft.UI.Xaml.UIElement.PointerEntered
Microsoft.UI.Xaml.UIElement.PointerExited
Microsoft.UI.Xaml.UIElement.PointerMoved
Microsoft.UI.Xaml.UIElement.PointerPressed
Microsoft.UI.Xaml.UIElement.PointerReleased
Microsoft.UI.Xaml.UIElement.PointerWheelChanged
Microsoft.UI.Xaml.UIElement.PreviewKeyDown
Microsoft.UI.Xaml.UIElement.PreviewKeyUp
Microsoft.UI.Xaml.UIElement.ProcessKeyboardAccelerators
Microsoft.UI.Xaml.UIElement.RightTapped
Microsoft.UI.Xaml.UIElement.Tapped
Microsoft.UI.Xaml.DependencyObject.Equals(Microsoft.UI.Xaml.DependencyObject)
Microsoft.UI.Xaml.DependencyObject.GetValue(Microsoft.UI.Xaml.DependencyProperty)
Microsoft.UI.Xaml.DependencyObject.SetValue(Microsoft.UI.Xaml.DependencyProperty, System.Object)
Microsoft.UI.Xaml.DependencyObject.ClearValue(Microsoft.UI.Xaml.DependencyProperty)
Microsoft.UI.Xaml.DependencyObject.ReadLocalValue(Microsoft.UI.Xaml.DependencyProperty)
Microsoft.UI.Xaml.DependencyObject.GetAnimationBaseValue(Microsoft.UI.Xaml.DependencyProperty)
Microsoft.UI.Xaml.DependencyObject.RegisterPropertyChangedCallback(Microsoft.UI.Xaml.DependencyProperty, Microsoft.UI.Xaml.DependencyPropertyChangedCallback)
Microsoft.UI.Xaml.DependencyObject.UnregisterPropertyChangedCallback(Microsoft.UI.Xaml.DependencyProperty, System.Int64)
Microsoft.UI.Xaml.DependencyObject.WinRT.IWinRTObject.AdditionalTypeData
Microsoft.UI.Xaml.DependencyObject.Dispatcher
Microsoft.UI.Xaml.DependencyObject.DispatcherQueue
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.UI.Controls
Assembly: Esri.ArcGISRuntime.WinUI.dll
Syntax
[TemplatePart(Name = "ZoomBox", Type = typeof(FrameworkElement))]
[ContentProperty(Name = "Map")]
public class MapView : GeoView, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, ICustomQueryInterface, IWinRTObject, IDynamicInterfaceCastable, IEquatable<Control>, INotifyPropertyChanged
Remarks

The MapView is a container that holds a Map. A Map holds a collection of operational layers and Basemap. Layers are visual representations of geographic information and come in many forms. The types of layers that are displayed in a MapView are two dimensional in nature; meaning they are displayed in X/Y (a.k.a. Latitude/Longitude) coordinate space.

There is only one Map per MapView and it is set by the Map Property. Multiple Map objects can be created and swapped out dynamically as the application is running in the MapView.

It controls the area (extent) of the Map that is visible and supports user interactions such as pan and zoom. A map view also provides access to the underlying layer data in a map.

To display a Map, add a MapView control to your app and assign the map to it. This loads the map and its content, such as a Basemap and collection of operational layers, and displays this content on screen.

User interactions such as pan, zoom, rotate, and identify or selection are supported in the MapView using touch, mouse, keyboard, or pen/pencil. If required, you can override keys, clicks, and gestures to provide a specific user experience.

The visible area (Viewpoint) of the MapView is defined by the visible extent the map. To determine the current visible area or the center point and scale of a MapView, call GetCurrentViewpoint(ViewpointType). Make sure that any user-initiated or programmatic navigation is complete before getting the current Viewpoint by calling IsNavigating.

You can programmatically set the visible area by specifying a viewpoint. For example, SetViewpointGeometryAsync(Geometry) sets the visible area to the extent of a provided geometry, and SetViewpointCenterAsync(MapPoint) centers the map view at a given point. Any geometries passed to these methods are automatically projected to match the SpatialReference of the map view's Map, if required.

In an MVC architecture, the MapView represents the View tier. The Model tier is represented by the Map object which can provide a collection of operational layers and a Basemap. You can only set one Map per MapView, but you can swap the Map with another when the application is running. See the Map view discussion in the developer guide for more information.

Constructors

Name Description
MapView()

Initializes a new instance of the MapView class.

Fields

Name Description
BackgroundGridProperty

Identifies the BackgroundGrid Dependency Property

GeometryEditorProperty

Identifies the GeometryEditor Dependency Property

InteractionOptionsProperty

Identifies the InteractionOptions Dependency Property

LocationDisplayProperty

Identifies the LocationDisplay Dependency Property

MapProperty

Identifies the Map dependency property

SketchEditorProperty

Identifies the SketchEditor Dependency Property

Properties

Name Description
BackgroundGrid

Gets or sets the background grid that a Map is displayed on top of.

GeometryEditor

Gets or sets the editor that allows users to interactively create and edit geometries by interacting with the view.

InteractionOptions

Gets or sets a set of properties that control user interaction with the MapView.

LocationDisplay

Gets the location display that manages and renders the device's current location on a MapView using a data source, such as a GPS sensor.

Map

Gets or sets the map that the MapView is displaying.

MapRotation

Gets the rotation angle of the Map in degrees from its north-south direction.

MapScale

Gets the scale of the MapView.

SketchEditor

Gets or sets the sketch editor used for drawing and editing on the map.

UnitsPerPixel

Gets the size of each device-independent pixel (DIP) in map units.

VisibleArea

Gets the view's visible area.

WrapAroundMode

Gets or sets whether continuous panning across the international date line is enabled.

Methods

Name Description
CancelSetViewpointOperations()

Cancels any pending or currently running SetViewpointAsync operations.

LocationToScreen(MapPoint)

Converts a location in map coordinates to a screen coordinate relative to the upper-left corner of the map.

OnApplyTemplate()

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

OnCreateAutomationPeer()

Returns a class-specific Microsoft.UI.Xaml.Automation.Peers.AutomationPeer implementation for the Microsoft UI Automation infrastructure.

ScreenToLocation(Point)

Converts screen coordinates relative to the upper-left corner of the map view to a location in map coordinates.

SetViewpointAsync(Viewpoint, TimeSpan, AnimationCurve)

Animates the display to the new viewpoint using the provided animation curve. The AnimationCurve defines the animation easing function.

SetViewpointCenterAsync(MapPoint)

Centers the map view at the provided center point.

SetViewpointCenterAsync(MapPoint, Double)

Centers the map view at the provided center point and zooms to the given scale.

SetViewpointCenterAsync(Double, Double)

Centers the view on the provided point.

SetViewpointCenterAsync(Double, Double, Double)

Centers the view on the provided point and zooms to the provided scale.

SetViewpointGeometryAsync(Geometry)

Zooms and pans the map view to the extent of the provided geometry.

SetViewpointGeometryAsync(Geometry, Double)

Zooms and pans the map view to the extent of the provided geometry with additional padding.

SetViewpointRotationAsync(Double)

Sets the rotatation of the map view to the provided angle.

SetViewpointScaleAsync(Double)

Zooms the map view to the provided scale around its current center point.

Applies to

TargetVersions
.NET Windows100.13 - 200.7
In This Article
Back to top Copyright © 2022 Esri.