Show / Hide Table of Contents

Class MapView

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

Inheritance
object
Object
View
ViewGroup
GeoView
MapView
Implements
Drawable.ICallback
IAccessibilityEventSource
KeyEvent.ICallback
IViewManager
IViewParent
IDefaultLifecycleObserver
ILifecycleObserver
IJavaObject
IJavaPeerable
IDisposable
INotifyPropertyChanged
GeoView.CalloutStyle
GeoView.DrawStatusChanged
GeoView.LayerViewStateChanged
GeoView.SpatialReferenceChanged
GeoView.AnalysisViewStateChanged
GeoView.ViewpointChanged
GeoView.ShowCalloutForGeoElement(GeoElement, PointF, CalloutDefinition)
GeoView.ShowCalloutAt(MapPoint, CalloutDefinition)
GeoView.ShowCalloutAt(MapPoint, View, PointF)
GeoView.DismissCallout()
GeoView.IsCalloutVisible
GeoView.ExportImageAsync()
GeoView.GraphicsOverlays
GeoView.GetCurrentViewpoint(ViewpointType)
GeoView.SetViewpoint(Viewpoint)
GeoView.SetViewpointAsync(Viewpoint)
GeoView.SetViewpointAsync(Viewpoint, TimeSpan)
GeoView.SetBookmarkAsync(Bookmark)
GeoView.GetLayerViewState(Layer)
GeoView.GetAnalysisViewState(Analysis)
GeoView.IdentifyGraphicsOverlayAsync(GraphicsOverlay, PointF, double, bool)
GeoView.IdentifyGraphicsOverlayAsync(GraphicsOverlay, PointF, double, bool, long)
GeoView.IdentifyGraphicsOverlaysAsync(PointF, double, bool)
GeoView.IdentifyGraphicsOverlaysAsync(PointF, double, bool, long)
GeoView.IdentifyLayerAsync(Layer, PointF, double, bool)
GeoView.IdentifyLayerAsync(Layer, PointF, double, bool, CancellationToken)
GeoView.IdentifyLayerAsync(Layer, PointF, double, bool, long)
GeoView.IdentifyLayerAsync(Layer, PointF, double, bool, long, CancellationToken)
GeoView.IdentifyLayersAsync(PointF, double, bool)
GeoView.IdentifyLayersAsync(PointF, double, bool, CancellationToken)
GeoView.IdentifyLayersAsync(PointF, double, bool, long)
GeoView.IdentifyLayersAsync(PointF, double, bool, long, CancellationToken)
GeoView.GeoViewTapped
GeoView.GeoViewDoubleTapped
GeoView.GeoViewHolding
GeoView.IsAttributionTextVisible
GeoView.AttributionText
GeoView.SpatialReference
GeoView.IsWrapAroundEnabled
GeoView.IsNavigating
GeoView.NavigationCompleted
GeoView.DrawStatus
GeoView.SetViewInsets(int, int, int, int)
GeoView.ViewInsetsLeft
GeoView.ViewInsetsTop
GeoView.ViewInsetsRight
GeoView.ViewInsetsBottom
GeoView.TimeExtent
GeoView.SelectionProperties
GeoView.Labeling
GeoView.Grid
GeoView.ImageOverlays
GeoView.AnalysisOverlays
GeoView.CriticalError
GeoView.CriticalErrorChanged
GeoView.GeoModelError
GeoView.GeoModelErrorChanged
ViewGroup.ClipToPaddingMask
ViewGroup.LayoutModeClipBounds
ViewGroup.LayoutModeOpticalBounds
ViewGroup.AddStatesFromChildren()
ViewGroup.AddView(View, ViewGroup.LayoutParams)
ViewGroup.AddView(View, int, ViewGroup.LayoutParams)
ViewGroup.AddView(View, int, int)
ViewGroup.AddView(View, int)
ViewGroup.AddView(View)
ViewGroup.AddViewInLayout(View, int, ViewGroup.LayoutParams, bool)
ViewGroup.AddViewInLayout(View, int, ViewGroup.LayoutParams)
ViewGroup.AttachLayoutAnimationParameters(View, ViewGroup.LayoutParams, int, int)
ViewGroup.AttachViewToParent(View, int, ViewGroup.LayoutParams)
ViewGroup.BringChildToFront(View)
ViewGroup.CanAnimate()
ViewGroup.CheckLayoutParams(ViewGroup.LayoutParams)
ViewGroup.ChildDrawableStateChanged(View)
ViewGroup.ChildHasTransientStateChanged(View, bool)
ViewGroup.CleanupLayoutState(View)
ViewGroup.ClearChildFocus(View)
ViewGroup.ClearDisappearingChildren()
ViewGroup.Debug(int)
ViewGroup.DetachAllViewsFromParent()
ViewGroup.DetachViewFromParent(View)
ViewGroup.DetachViewFromParent(int)
ViewGroup.DetachViewsFromParent(int, int)
ViewGroup.DispatchFreezeSelfOnly(SparseArray)
ViewGroup.DispatchSetActivated(bool)
ViewGroup.DispatchSetSelected(bool)
ViewGroup.DispatchThawSelfOnly(SparseArray)
ViewGroup.DrawChild(Canvas, View, long)
ViewGroup.EndViewTransition(View)
ViewGroup.FindOnBackInvokedDispatcherForChild(View, View)
ViewGroup.FocusableViewAvailable(View)
ViewGroup.FocusSearch(View, FocusSearchDirection)
ViewGroup.GatherTransparentRegion(Region)
ViewGroup.GenerateDefaultLayoutParams()
ViewGroup.GenerateLayoutParams(IAttributeSet)
ViewGroup.GenerateLayoutParams(ViewGroup.LayoutParams)
ViewGroup.GetChildAt(int)
ViewGroup.GetChildDrawingOrder(int, int)
ViewGroup.GetChildDrawingOrder(int)
ViewGroup.GetChildMeasureSpec(int, int, int)
ViewGroup.GetChildStaticTransformation(View, Transformation)
ViewGroup.GetChildVisibleRect(View, Rect, Point)
ViewGroup.IndexOfChild(View)
ViewGroup.InvalidateChild(View, Rect)
ViewGroup.InvalidateChildInParent(int[], Rect)
ViewGroup.Layout(int, int, int, int)
ViewGroup.MeasureChild(View, int, int)
ViewGroup.MeasureChildren(int, int)
ViewGroup.MeasureChildWithMargins(View, int, int, int, int)
ViewGroup.NotifySubtreeAccessibilityStateChanged(View, View, ContentChangeTypes)
ViewGroup.OffsetDescendantRectToMyCoords(View, Rect)
ViewGroup.OffsetRectIntoDescendantCoords(View, Rect)
ViewGroup.OnDescendantInvalidated(View, View)
ViewGroup.OnInterceptHoverEvent(MotionEvent)
ViewGroup.OnInterceptTouchEvent(MotionEvent)
ViewGroup.OnLayout(bool, int, int, int, int)
ViewGroup.OnNestedFling(View, float, float, bool)
ViewGroup.OnNestedPreFling(View, float, float)
ViewGroup.OnNestedPrePerformAccessibilityAction(View, Action, Bundle)
ViewGroup.OnNestedPreScroll(View, int, int, int[])
ViewGroup.OnNestedScroll(View, int, int, int, int)
ViewGroup.OnNestedScrollAccepted(View, View, ScrollAxis)
ViewGroup.OnRequestFocusInDescendants(int, Rect)
ViewGroup.OnRequestSendAccessibilityEvent(View, AccessibilityEvent)
ViewGroup.OnStartNestedScroll(View, View, ScrollAxis)
ViewGroup.OnStopNestedScroll(View)
ViewGroup.OnViewAdded(View)
ViewGroup.OnViewRemoved(View)
ViewGroup.RecomputeViewAttributes(View)
ViewGroup.RemoveAllViews()
ViewGroup.RemoveAllViewsInLayout()
ViewGroup.RemoveDetachedView(View, bool)
ViewGroup.RemoveView(View)
ViewGroup.RemoveViewAt(int)
ViewGroup.RemoveViewInLayout(View)
ViewGroup.RemoveViews(int, int)
ViewGroup.RemoveViewsInLayout(int, int)
ViewGroup.RequestChildFocus(View, View)
ViewGroup.RequestChildRectangleOnScreen(View, Rect, bool)
ViewGroup.RequestDisallowInterceptTouchEvent(bool)
ViewGroup.RequestSendAccessibilityEvent(View, AccessibilityEvent)
ViewGroup.RequestTransparentRegion(View)
ViewGroup.ResetResolvedLayoutDirection()
ViewGroup.ResetResolvedTextDirection()
ViewGroup.ScheduleLayoutAnimation()
ViewGroup.SetAddStatesFromChildren(bool)
ViewGroup.SetChildrenDrawingCacheEnabled(bool)
ViewGroup.SetClipChildren(bool)
ViewGroup.SetClipToPadding(bool)
ViewGroup.SetOnHierarchyChangeListener(ViewGroup.IOnHierarchyChangeListener)
ViewGroup.SetStaticTransformationsEnabled(bool)
ViewGroup.ShouldDelayChildPressedState()
ViewGroup.ShowContextMenuForChild(View, float, float)
ViewGroup.ShowContextMenuForChild(View)
ViewGroup.StartActionModeForChild(View, ActionMode.ICallback, ActionModeType)
ViewGroup.StartActionModeForChild(View, ActionMode.ICallback)
ViewGroup.StartLayoutAnimation()
ViewGroup.StartViewTransition(View)
ViewGroup.SuppressLayout(bool)
ViewGroup.UpdateViewLayout(View, ViewGroup.LayoutParams)
ViewGroup.AlwaysDrawnWithCacheEnabled
ViewGroup.AnimationCacheEnabled
ViewGroup.ChildCount
ViewGroup.ChildrenDrawingOrderEnabled
ViewGroup.ChildrenDrawnWithCacheEnabled
ViewGroup.ClipChildren
ViewGroup.ClipToPadding
ViewGroup.DescendantFocusability
ViewGroup.FocusedChild
ViewGroup.IsLayoutSuppressed
ViewGroup.LayoutAnimation
ViewGroup.LayoutAnimationListener
ViewGroup.LayoutMode
ViewGroup.LayoutTransition
ViewGroup.MotionEventSplittingEnabled
ViewGroup.NestedScrollAxes
ViewGroup.PersistentDrawingCache
ViewGroup.TouchscreenBlocksFocus
ViewGroup.TransitionGroup
ViewGroup.ChildViewAdded
ViewGroup.ChildViewRemoved
ViewGroup.AnimationEnd
ViewGroup.AnimationRepeat
ViewGroup.AnimationStart
View.AccessibilityDataSensitiveAuto
View.AccessibilityDataSensitiveNo
View.AccessibilityDataSensitiveYes
View.AccessibilityLiveRegionAssertive
View.AccessibilityLiveRegionNone
View.AccessibilityLiveRegionPolite
View.AutofillFlagIncludeNotImportantViews
View.AutofillHintCreditCardExpirationDate
View.AutofillHintCreditCardExpirationDay
View.AutofillHintCreditCardExpirationMonth
View.AutofillHintCreditCardExpirationYear
View.AutofillHintCreditCardNumber
View.AutofillHintCreditCardSecurityCode
View.AutofillHintEmailAddress
View.AutofillHintName
View.AutofillHintPassword
View.AutofillHintPhone
View.AutofillHintPostalAddress
View.AutofillHintPostalCode
View.AutofillHintUsername
View.AutofillTypeDate
View.AutofillTypeList
View.AutofillTypeNone
View.AutofillTypeText
View.AutofillTypeToggle
View.ContentSensitivityAuto
View.ContentSensitivityNotSensitive
View.ContentSensitivitySensitive
View.DragFlagAccessibilityAction
View.DragFlagGlobal
View.DragFlagGlobalPersistableUriPermission
View.DragFlagGlobalPrefixUriPermission
View.DragFlagGlobalSameApplication
View.DragFlagGlobalUriRead
View.DragFlagGlobalUriWrite
View.DragFlagOpaque
View.DragFlagStartIntentSenderOnUnhandledDrag
View.FindViewsWithContentDescription
View.FocusableAuto
View.ImportantForAccessibilityAuto
View.ImportantForAccessibilityNo
View.ImportantForAccessibilityNoHideDescendants
View.ImportantForAccessibilityYes
View.ImportantForAutofillAuto
View.ImportantForAutofillNo
View.ImportantForAutofillNoExcludeDescendants
View.ImportantForAutofillYes
View.ImportantForAutofillYesExcludeDescendants
View.ImportantForContentCaptureAuto
View.ImportantForContentCaptureNo
View.ImportantForContentCaptureNoExcludeDescendants
View.ImportantForContentCaptureYes
View.ImportantForContentCaptureYesExcludeDescendants
View.LayoutDirectionInherit
View.LayoutDirectionLocale
View.LayoutDirectionLtr
View.LayoutDirectionRtl
View.MeasuredHeightStateShift
View.MeasuredSizeMask
View.MeasuredStateMask
View.MeasuredStateTooSmall
View.NoId
View.NotFocusable
View.OverScrollAlways
View.OverScrollIfContentScrolls
View.OverScrollNever
View.RequestedFrameRateCategoryDefault
View.RequestedFrameRateCategoryHigh
View.RequestedFrameRateCategoryLow
View.RequestedFrameRateCategoryNoPreference
View.RequestedFrameRateCategoryNormal
View.ScreenStateOff
View.ScreenStateOn
View.ScrollAxisHorizontal
View.ScrollAxisNone
View.ScrollAxisVertical
View.ScrollCaptureHintAuto
View.ScrollCaptureHintExclude
View.ScrollCaptureHintExcludeDescendants
View.ScrollCaptureHintInclude
View.SystemUiFlagFullscreen
View.SystemUiFlagHideNavigation
View.SystemUiFlagImmersive
View.SystemUiFlagImmersiveSticky
View.SystemUiFlagLayoutFullscreen
View.SystemUiFlagLayoutHideNavigation
View.SystemUiFlagLayoutStable
View.SystemUiFlagLightNavigationBar
View.SystemUiFlagLightStatusBar
View.SystemUiFlagLowProfile
View.SystemUiFlagVisible
View.SystemUiLayoutFlags
View.TextAlignmentCenter
View.TextAlignmentGravity
View.TextAlignmentInherit
View.TextAlignmentResolvedDefault
View.TextAlignmentTextEnd
View.TextAlignmentTextStart
View.TextAlignmentViewEnd
View.TextAlignmentViewStart
View.TextDirectionAnyRtl
View.TextDirectionFirstStrong
View.TextDirectionFirstStrongLtr
View.TextDirectionFirstStrongRtl
View.TextDirectionInherit
View.TextDirectionLocale
View.TextDirectionLtr
View.TextDirectionRtl
View.ViewLogTag
View.PerformAccessibilityAction(GlobalAction, Bundle)
View.FindViewById<T>(int)
View.RequireViewById<T>(int)
View.Post(Action)
View.PostDelayed(Action, long)
View.RemoveCallbacks(Action)
View.ScheduleDrawable(Drawable, Action, long)
View.UnscheduleDrawable(Drawable, Action)
View.DispatchSystemUiVisibilityChanged(int)
View.AddChildrenForAccessibility(IList<View>)
View.AddExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo, string, Bundle)
View.AddFocusables(IList<View>, FocusSearchDirection, FocusablesFlags)
View.AddFocusables(IList<View>, FocusSearchDirection)
View.AddKeyboardNavigationClusters(ICollection<View>, FocusSearchDirection)
View.AddOnAttachStateChangeListener(View.IOnAttachStateChangeListener)
View.AddOnLayoutChangeListener(View.IOnLayoutChangeListener)
View.AddOnUnhandledKeyEventListener(View.IOnUnhandledKeyEventListener)
View.AddTouchables(IList<View>)
View.Animate()
View.AnnounceForAccessibility(ICharSequence)
View.AnnounceForAccessibility(string)
View.Autofill(SparseArray)
View.Autofill(AutofillValue)
View.AwakenScrollBars()
View.AwakenScrollBars(int, bool)
View.AwakenScrollBars(int)
View.BringToFront()
View.BuildDrawingCache()
View.BuildDrawingCache(bool)
View.BuildLayer()
View.CallOnClick()
View.CancelDragAndDrop()
View.CancelLongPress()
View.CancelPendingInputEvents()
View.CanResolveLayoutDirection()
View.CanResolveTextAlignment()
View.CanResolveTextDirection()
View.CanScrollHorizontally(int)
View.CanScrollVertically(int)
View.CheckInputConnectionProxy(View)
View.ClearAnimation()
View.ClearFocus()
View.ClearPendingCredentialRequest()
View.ClearViewTranslationCallback()
View.CombineMeasuredStates(int, int)
View.ComputeHorizontalScrollExtent()
View.ComputeHorizontalScrollOffset()
View.ComputeHorizontalScrollRange()
View.ComputeScroll()
View.ComputeSystemWindowInsets(WindowInsets, Rect)
View.ComputeVerticalScrollExtent()
View.ComputeVerticalScrollOffset()
View.ComputeVerticalScrollRange()
View.CreateAccessibilityNodeInfo()
View.CreateContextMenu(IContextMenu)
View.DestroyDrawingCache()
View.DispatchApplyWindowInsets(WindowInsets)
View.DispatchCapturedPointerEvent(MotionEvent)
View.DispatchConfigurationChanged(Configuration)
View.DispatchCreateViewTranslationRequest(IDictionary<AutofillId, long[]>, int[], TranslationCapability, IList<ViewTranslationRequest>)
View.DispatchDisplayHint(ViewStates)
View.DispatchDragEvent(DragEvent)
View.DispatchDraw(Canvas)
View.DispatchDrawableHotspotChanged(float, float)
View.DispatchFinishTemporaryDetach()
View.DispatchGenericFocusedEvent(MotionEvent)
View.DispatchGenericMotionEvent(MotionEvent)
View.DispatchGenericPointerEvent(MotionEvent)
View.DispatchHoverEvent(MotionEvent)
View.DispatchKeyEvent(KeyEvent)
View.DispatchKeyEventPreIme(KeyEvent)
View.DispatchKeyShortcutEvent(KeyEvent)
View.DispatchNestedFling(float, float, bool)
View.DispatchNestedPreFling(float, float)
View.DispatchNestedPrePerformAccessibilityAction(Action, Bundle)
View.DispatchNestedPreScroll(int, int, int[], int[])
View.DispatchNestedScroll(int, int, int, int, int[])
View.DispatchPointerCaptureChanged(bool)
View.DispatchPopulateAccessibilityEvent(AccessibilityEvent)
View.DispatchProvideAutofillStructure(ViewStructure, AutofillFlags)
View.DispatchProvideStructure(ViewStructure)
View.DispatchRestoreInstanceState(SparseArray)
View.DispatchSaveInstanceState(SparseArray)
View.DispatchScrollCaptureSearch(Rect, Point, IConsumer)
View.DispatchSetPressed(bool)
View.DispatchStartTemporaryDetach()
View.DispatchSystemUiVisibilityChanged(SystemUiFlags)
View.DispatchTouchEvent(MotionEvent)
View.DispatchTrackballEvent(MotionEvent)
View.DispatchUnhandledMove(View, FocusSearchDirection)
View.DispatchVisibilityChanged(View, ViewStates)
View.DispatchWindowFocusChanged(bool)
View.DispatchWindowInsetsAnimationEnd(WindowInsetsAnimation)
View.DispatchWindowInsetsAnimationPrepare(WindowInsetsAnimation)
View.DispatchWindowInsetsAnimationProgress(WindowInsets, IList<WindowInsetsAnimation>)
View.DispatchWindowInsetsAnimationStart(WindowInsetsAnimation, WindowInsetsAnimation.Bounds)
View.DispatchWindowSystemUiVisiblityChanged(SystemUiFlags)
View.DispatchWindowVisibilityChanged(ViewStates)
View.Draw(Canvas)
View.DrawableHotspotChanged(float, float)
View.DrawableStateChanged()
View.FindFocus()
View.FindOnBackInvokedDispatcher()
View.FindViewById(int)
View.FindViewsWithText(IList<View>, ICharSequence, FindViewsWith)
View.FindViewsWithText(IList<View>, string, FindViewsWith)
View.FindViewWithTag(Object)
View.InvokeFitsSystemWindows()
View.FitSystemWindows(Rect)
View.FocusSearch(FocusSearchDirection)
View.ForceHasOverlappingRendering(bool)
View.ForceLayout()
View.GenerateDisplayHash(string, Rect, IExecutor, IDisplayHashResultCallback)
View.GenerateViewId()
View.GetAccessibilityDelegate()
View.GetAttributeResolutionStack(int)
View.GetAutofillHints()
View.GetClipBounds(Rect)
View.GetDefaultSize(int, int)
View.GetDrawableState()
View.GetDrawingCache(bool)
View.GetDrawingRect(Rect)
View.GetFocusable()
View.GetFocusables(FocusSearchDirection)
View.GetFocusedRect(Rect)
View.GetGlobalVisibleRect(Rect, Point)
View.GetGlobalVisibleRect(Rect)
View.GetHitRect(Rect)
View.GetLocalVisibleRect(Rect)
View.GetLocationInSurface(int[])
View.GetLocationInWindow(int[])
View.GetLocationOnScreen(int[])
View.GetReceiveContentMimeTypes()
View.GetTag(int)
View.GetWindowVisibleDisplayFrame(Rect)
View.GetX()
View.GetY()
View.GetZ()
View.GetHasOverlappingRendering()
View.Inflate(Context, int, ViewGroup)
View.InitializeFadingEdge(TypedArray)
View.InitializeScrollbars(TypedArray)
View.Invalidate()
View.Invalidate(Rect)
View.Invalidate(int, int, int, int)
View.InvalidateDrawable(Drawable)
View.InvalidateOutline()
View.IsVisibleToUserForAutofill(int)
View.JumpDrawablesToCurrentState()
View.KeyboardNavigationClusterSearch(View, FocusSearchDirection)
View.Measure(int, int)
View.MergeDrawableStates(int[], int[])
View.OffsetLeftAndRight(int)
View.OffsetTopAndBottom(int)
View.OnAnimationEnd()
View.OnAnimationStart()
View.OnApplyWindowInsets(WindowInsets)
View.OnAttachedToWindow()
View.OnCancelPendingInputEvents()
View.OnCapturedPointerEvent(MotionEvent)
View.OnCheckIsTextEditor()
View.OnConfigurationChanged(Configuration)
View.OnCreateContextMenu(IContextMenu)
View.OnCreateDrawableState(int)
View.OnCreateInputConnection(EditorInfo)
View.OnCreateViewTranslationRequest(int[], IConsumer)
View.OnCreateVirtualViewTranslationRequests(long[], int[], IConsumer)
View.OnDetachedFromWindow()
View.OnDisplayHint(int)
View.OnDragEvent(DragEvent)
View.OnDraw(Canvas)
View.OnDrawForeground(Canvas)
View.OnDrawScrollBars(Canvas)
View.OnFilterTouchEventForSecurity(MotionEvent)
View.OnFinishInflate()
View.OnFinishTemporaryDetach()
View.OnFocusChanged(bool, FocusSearchDirection, Rect)
View.OnGenericMotionEvent(MotionEvent)
View.OnHoverChanged(bool)
View.OnHoverEvent(MotionEvent)
View.OnInitializeAccessibilityEvent(AccessibilityEvent)
View.OnInitializeAccessibilityNodeInfo(AccessibilityNodeInfo)
View.OnKeyDown(Keycode, KeyEvent)
View.OnKeyLongPress(Keycode, KeyEvent)
View.OnKeyMultiple(Keycode, int, KeyEvent)
View.OnKeyPreIme(Keycode, KeyEvent)
View.OnKeyShortcut(Keycode, KeyEvent)
View.OnKeyUp(Keycode, KeyEvent)
View.OnMeasure(int, int)
View.OnOverScrolled(int, int, bool, bool)
View.OnPointerCaptureChange(bool)
View.OnPopulateAccessibilityEvent(AccessibilityEvent)
View.OnProvideAutofillStructure(ViewStructure, AutofillFlags)
View.OnProvideAutofillVirtualStructure(ViewStructure, AutofillFlags)
View.OnProvideContentCaptureStructure(ViewStructure, int)
View.OnProvideStructure(ViewStructure)
View.OnProvideVirtualStructure(ViewStructure)
View.OnReceiveContent(ContentInfo)
View.OnResolvePointerIcon(MotionEvent, int)
View.OnRestoreInstanceState(IParcelable)
View.OnRtlPropertiesChanged(LayoutDirection)
View.OnSaveInstanceState()
View.OnScreenStateChanged(ScreenState)
View.OnScrollCaptureSearch(Rect, Point, IConsumer)
View.OnScrollChanged(int, int, int, int)
View.OnSetAlpha(int)
View.OnSizeChanged(int, int, int, int)
View.OnStartTemporaryDetach()
View.OnTouchEvent(MotionEvent)
View.OnTrackballEvent(MotionEvent)
View.OnViewTranslationResponse(ViewTranslationResponse)
View.OnVirtualViewTranslationResponses(LongSparseArray)
View.OnVisibilityAggregated(bool)
View.OnVisibilityChanged(View, ViewStates)
View.OnWindowFocusChanged(bool)
View.OnWindowSystemUiVisibilityChanged(SystemUiFlags)
View.OnWindowVisibilityChanged(ViewStates)
View.OverScrollBy(int, int, int, int, int, int, int, int, bool)
View.PerformAccessibilityAction(Action, Bundle)
View.PerformClick()
View.PerformContextClick()
View.PerformContextClick(float, float)
View.PerformHapticFeedback(FeedbackConstants, FeedbackFlags)
View.PerformHapticFeedback(FeedbackConstants)
View.PerformLongClick()
View.PerformLongClick(float, float)
View.PerformReceiveContent(ContentInfo)
View.PlaySoundEffect(SoundEffects)
View.Post(IRunnable)
View.PostDelayed(IRunnable, long)
View.PostInvalidate()
View.PostInvalidate(int, int, int, int)
View.PostInvalidateDelayed(long, int, int, int, int)
View.PostInvalidateDelayed(long)
View.PostInvalidateOnAnimation()
View.PostInvalidateOnAnimation(int, int, int, int)
View.PostOnAnimation(IRunnable)
View.PostOnAnimationDelayed(IRunnable, long)
View.RefreshDrawableState()
View.ReleasePointerCapture()
View.RemoveCallbacks(IRunnable)
View.RemoveOnAttachStateChangeListener(View.IOnAttachStateChangeListener)
View.RemoveOnLayoutChangeListener(View.IOnLayoutChangeListener)
View.RemoveOnUnhandledKeyEventListener(View.IOnUnhandledKeyEventListener)
View.RequestApplyInsets()
View.RequestFitSystemWindows()
View.RequestFocus()
View.RequestFocus(FocusSearchDirection, Rect)
View.RequestFocus(FocusSearchDirection)
View.RequestFocusFromTouch()
View.RequestLayout()
View.RequestPointerCapture()
View.RequestRectangleOnScreen(Rect, bool)
View.RequestRectangleOnScreen(Rect)
View.RequestUnbufferedDispatch(MotionEvent)
View.RequestUnbufferedDispatch(int)
View.RequireViewById(int)
View.ResetPivot()
View.ResolveSize(int, int)
View.ResolveSizeAndState(int, int, int)
View.RestoreDefaultFocus()
View.RestoreHierarchyState(SparseArray)
View.SaveAttributeDataForStyleable(Context, int[], IAttributeSet, TypedArray, int, int)
View.SaveHierarchyState(SparseArray)
View.ScheduleDrawable(Drawable, IRunnable, long)
View.ScrollBy(int, int)
View.ScrollTo(int, int)
View.SendAccessibilityEvent(EventTypes)
View.SendAccessibilityEventUnchecked(AccessibilityEvent)
View.SetAccessibilityDataSensitive(AccessibilityDataSensitive)
View.SetAccessibilityDelegate(View.AccessibilityDelegate)
View.SetAllowClickWhenDisabled(bool)
View.SetAllowedHandwritingDelegatePackage(string)
View.SetAllowedHandwritingDelegatorPackage(string)
View.SetAutofillHints(params string[])
View.SetBackgroundColor(Color)
View.SetBackgroundDrawable(Drawable)
View.SetBackgroundResource(int)
View.SetCameraDistance(float)
View.SetFadingEdgeLength(int)
View.SetFitsSystemWindows(bool)
View.SetFocusable(ViewFocusability)
View.SetForegroundGravity(GravityFlags)
View.SetHandwritingBoundsOffsets(float, float, float, float)
View.SetLayerPaint(Paint)
View.SetLayerType(LayerType, Paint)
View.SetLeftTopRightBottom(int, int, int, int)
View.SetMeasuredDimension(int, int)
View.SetMinimumHeight(int)
View.SetMinimumWidth(int)
View.SetOnApplyWindowInsetsListener(View.IOnApplyWindowInsetsListener)
View.SetOnCapturedPointerListener(View.IOnCapturedPointerListener)
View.SetOnClickListener(View.IOnClickListener)
View.SetOnContextClickListener(View.IOnContextClickListener)
View.SetOnCreateContextMenuListener(View.IOnCreateContextMenuListener)
View.SetOnDragListener(View.IOnDragListener)
View.SetOnGenericMotionListener(View.IOnGenericMotionListener)
View.SetOnHoverListener(View.IOnHoverListener)
View.SetOnKeyListener(View.IOnKeyListener)
View.SetOnLongClickListener(View.IOnLongClickListener)
View.SetOnReceiveContentListener(string[], IOnReceiveContentListener)
View.SetOnScrollChangeListener(View.IOnScrollChangeListener)
View.SetOnSystemUiVisibilityChangeListener(View.IOnSystemUiVisibilityChangeListener)
View.SetOnTouchListener(View.IOnTouchListener)
View.SetOutlineAmbientShadowColor(Color)
View.SetOutlineSpotShadowColor(Color)
View.SetPadding(int, int, int, int)
View.SetPaddingRelative(int, int, int, int)
View.SetPendingCredentialRequest(GetCredentialRequest, IOutcomeReceiver)
View.SetRenderEffect(RenderEffect)
View.SetScrollCaptureCallback(IScrollCaptureCallback)
View.SetScrollContainer(bool)
View.SetScrollIndicators(int, int)
View.SetScrollIndicators(int)
View.SetTag(int, Object)
View.SetTransitionVisibility(ViewStates)
View.SetViewTranslationCallback(IViewTranslationCallback)
View.SetWillNotCacheDrawing(bool)
View.SetWillNotDraw(bool)
View.SetWindowInsetsAnimationCallback(WindowInsetsAnimation.Callback)
View.SetX(float)
View.SetY(float)
View.SetZ(float)
View.ShowContextMenu()
View.ShowContextMenu(float, float)
View.StartActionMode(ActionMode.ICallback, ActionModeType)
View.StartActionMode(ActionMode.ICallback)
View.StartAnimation(Animation)
View.StartDrag(ClipData, View.DragShadowBuilder, Object, int)
View.StartDragAndDrop(ClipData, View.DragShadowBuilder, Object, int)
View.StartNestedScroll(ScrollAxis)
View.StopNestedScroll()
View.TransformMatrixToGlobal(Matrix)
View.TransformMatrixToLocal(Matrix)
View.UnscheduleDrawable(Drawable, IRunnable)
View.UnscheduleDrawable(Drawable)
View.UpdateDragShadow(View.DragShadowBuilder)
View.VerifyDrawable(Drawable)
View.WillNotCacheDrawing()
View.WillNotDraw()
View.SystemUiFlags
View.EmptyStateSet
View.EnabledFocusedSelectedStateSet
View.EnabledFocusedSelectedWindowFocusedStateSet
View.EnabledFocusedStateSet
View.EnabledFocusedWindowFocusedStateSet
View.EnabledSelectedStateSet
View.EnabledSelectedWindowFocusedStateSet
View.EnabledStateSet
View.EnabledWindowFocusedStateSet
View.FocusedSelectedStateSet
View.FocusedSelectedWindowFocusedStateSet
View.FocusedStateSet
View.FocusedWindowFocusedStateSet
View.PressedEnabledFocusedSelectedStateSet
View.PressedEnabledFocusedSelectedWindowFocusedStateSet
View.PressedEnabledFocusedStateSet
View.PressedEnabledFocusedWindowFocusedStateSet
View.PressedEnabledSelectedStateSet
View.PressedEnabledSelectedWindowFocusedStateSet
View.PressedEnabledStateSet
View.PressedEnabledWindowFocusedStateSet
View.PressedFocusedSelectedStateSet
View.PressedFocusedSelectedWindowFocusedStateSet
View.PressedFocusedStateSet
View.PressedFocusedWindowFocusedStateSet
View.PressedSelectedStateSet
View.PressedSelectedWindowFocusedStateSet
View.PressedStateSet
View.PressedWindowFocusedStateSet
View.ScaleXs
View.ScaleYs
View.SelectedStateSet
View.SelectedWindowFocusedStateSet
View.WindowFocusedStateSet
View.X
View.Y
View.Z
View.AccessibilityClassNameFormatted
View.AccessibilityClassName
View.AccessibilityHeading
View.AccessibilityLiveRegion
View.AccessibilityNodeProvider
View.AccessibilityPaneTitleFormatted
View.AccessibilityPaneTitle
View.AccessibilityTraversalAfter
View.AccessibilityTraversalBefore
View.Activated
View.AllowedHandwritingDelegatePackageName
View.AllowedHandwritingDelegatorPackageName
View.Alpha
View.Animation
View.AnimationMatrix
View.ApplicationWindowToken
View.AttributeSourceResourceMap
View.AutoHandwritingEnabled
View.AutofillId
View.AutofillType
View.AutofillValue
View.Background
View.BackgroundTintBlendMode
View.BackgroundTintList
View.BackgroundTintMode
View.Baseline
View.Bottom
View.BottomFadingEdgeStrength
View.BottomPaddingOffset
View.CameraDistance
View.Clickable
View.ClipBounds
View.ClipToOutline
View.ContentCaptureSession
View.ContentDescriptionFormatted
View.ContentDescription
View.ContentSensitivity
View.Context
View.ContextClickable
View.ContextMenuInfo
View.DefaultFocusHighlightEnabled
View.Display
View.DrawingCache
View.DrawingCacheBackgroundColor
View.DrawingCacheEnabled
View.DrawingCacheQuality
View.DrawingTime
View.DuplicateParentStateEnabled
View.Elevation
View.Enabled
View.ExplicitStyle
View.FilterTouchesWhenObscured
View.FitsSystemWindows
View.Focusable
View.FocusableInTouchMode
View.FocusedByDefault
View.ForceDarkAllowed
View.Foreground
View.ForegroundGravity
View.ForegroundTintBlendMode
View.ForegroundTintList
View.ForegroundTintMode
View.FrameContentVelocity
View.Handler
View.HandwritingBoundsOffsetBottom
View.HandwritingBoundsOffsetLeft
View.HandwritingBoundsOffsetRight
View.HandwritingBoundsOffsetTop
View.HandwritingDelegateFlags
View.HandwritingDelegatorCallback
View.HapticFeedbackEnabled
View.HasExplicitFocusable
View.HasFocus
View.HasFocusable
View.HasNestedScrollingParent
View.HasOnClickListeners
View.HasOnLongClickListeners
View.HasOverlappingRendering
View.HasPointerCapture
View.HasTransientState
View.HasWindowFocus
View.Height
View.HorizontalFadingEdgeEnabled
View.HorizontalFadingEdgeLength
View.HorizontalScrollBarEnabled
View.HorizontalScrollbarHeight
View.HorizontalScrollbarThumbDrawable
View.HorizontalScrollbarTrackDrawable
View.Hovered
View.Id
View.ImportantForAccessibility
View.ImportantForAutofill
View.ImportantForContentCapture
View.IsAccessibilityDataSensitive
View.IsAccessibilityFocused
View.IsAttachedToWindow
View.IsContentSensitive
View.IsCredential
View.IsDirty
View.IsFocused
View.IsHandwritingDelegate
View.IsHardwareAccelerated
View.IsImportantForAccessibility
View.IsImportantForAutofill
View.IsImportantForContentCapture
View.IsInEditMode
View.IsInLayout
View.IsInTouchMode
View.IsLaidOut
View.IsLayoutDirectionResolved
View.IsLayoutRequested
View.IsOpaque
View.IsPaddingOffsetRequired
View.IsPaddingRelative
View.IsPivotSet
View.IsScrollContainer
View.IsShowingLayoutBounds
View.IsShown
View.IsTemporarilyDetached
View.IsTextAlignmentResolved
View.IsTextDirectionResolved
View.KeepScreenOn
View.KeyDispatcherState
View.KeyboardNavigationCluster
View.LabelFor
View.LayerType
View.LayoutDirection
View.LayoutParameters
View.Left
View.LeftFadingEdgeStrength
View.LeftPaddingOffset
View.LongClickable
View.Matrix
View.MeasuredHeight
View.MeasuredHeightAndState
View.MeasuredState
View.MeasuredWidth
View.MeasuredWidthAndState
View.MinimumHeight
View.MinimumWidth
View.NestedScrollingEnabled
View.NextClusterForwardId
View.NextFocusDownId
View.NextFocusForwardId
View.NextFocusLeftId
View.NextFocusRightId
View.NextFocusUpId
View.OnFocusChangeListener
View.OutlineAmbientShadowColor
View.OutlineProvider
View.OutlineSpotShadowColor
View.OverScrollMode
View.Overlay
View.PaddingBottom
View.PaddingEnd
View.PaddingLeft
View.PaddingRight
View.PaddingStart
View.PaddingTop
View.Parent
View.ParentForAccessibility
View.PendingCredentialCallback
View.PendingCredentialRequest
View.PivotX
View.PivotY
View.PointerIcon
View.PreferKeepClear
View.PreferKeepClearRects
View.Pressed
View.RequestedFrameRate
View.Resources
View.RevealOnFocusHint
View.Right
View.RightFadingEdgeStrength
View.RightPaddingOffset
View.RootSurfaceControl
View.RootView
View.RootWindowInsets
View.Rotation
View.RotationX
View.RotationY
View.SaveEnabled
View.SaveFromParentEnabled
View.ScaleX
View.ScaleY
View.ScreenReaderFocusable
View.ScrollBarDefaultDelayBeforeFade
View.ScrollBarFadeDuration
View.ScrollBarSize
View.ScrollBarStyle
View.ScrollCaptureHint
View.ScrollIndicators
View.ScrollX
View.ScrollY
View.ScrollbarFadingEnabled
View.Selected
View.SolidColor
View.SoundEffectsEnabled
View.SourceLayoutResId
View.StateDescriptionFormatted
View.StateDescription
View.StateListAnimator
View.SuggestedMinimumHeight
View.SuggestedMinimumWidth
View.SystemGestureExclusionRects
View.SystemUiVisibility
View.Tag
View.TextAlignment
View.TextDirection
View.TooltipTextFormatted
View.TooltipText
View.Top
View.TopFadingEdgeStrength
View.TopPaddingOffset
View.TouchDelegate
View.Touchables
View.TransitionAlpha
View.TransitionName
View.TranslationX
View.TranslationY
View.TranslationZ
View.UniqueDrawingId
View.VerticalFadingEdgeEnabled
View.VerticalFadingEdgeLength
View.VerticalScrollBarEnabled
View.VerticalScrollbarPosition
View.VerticalScrollbarThumbDrawable
View.VerticalScrollbarTrackDrawable
View.VerticalScrollbarWidth
View.ViewTranslationResponse
View.ViewTreeObserver
View.Visibility
View.Width
View.WindowAttachCount
View.WindowId
View.WindowInsetsController
View.WindowSystemUiVisibility
View.WindowToken
View.WindowVisibility
View.ApplyWindowInsets
View.ViewAttachedToWindow
View.ViewDetachedFromWindow
View.LayoutChange
View.UnhandledKeyEvent
View.CapturedPointer
View.Click
View.ContextClick
View.ContextMenuCreated
View.Drag
View.GenericMotion
View.Hover
View.KeyPress
View.LongClick
View.LongClickUseDefaultHapticFeedback
View.ScrollChange
View.SystemUiVisibilityChange
View.Touch
View.FocusChange
Object.Dispose()
Object.GetObject<T>(nint, nint, JniHandleOwnership)
Object.GetObject<T>(nint, JniHandleOwnership)
Object.FromArray<T>(T[])
Object.Clone()
Object.Equals(Object)
Object.JavaFinalize()
Object.GetHashCode()
Object.Notify()
Object.NotifyAll()
Object.ToString()
Object.Wait()
Object.Wait(long, int)
Object.Wait(long)
Object.Class
object.Equals(object)
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Esri.ArcGISRuntime.UI.Controls
Assembly: Esri.ArcGISRuntime.Android.dll
Syntax
[Register("Esri.ArcGISRuntime.UI.Controls.MapView")]
public class MapView : GeoView, Drawable.ICallback, IAccessibilityEventSource, KeyEvent.ICallback, IViewManager, IViewParent, IDefaultLifecycleObserver, ILifecycleObserver, IJavaObject, IJavaPeerable, IDisposable, 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.

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(Context?)

Initializes a new instance of the MapView class.

MapView(Context?, IAttributeSet?)

Initializes a new instance of the MapView class.

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.

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.

Dispose(bool)

To be added.

IdentifyGeometryEditorAsync(PointF, double)

Identifies all the elements in the GeometryEditor, at the given screen point.

LocationToScreen(MapPoint)

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

ScreenToLocation(PointF)

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 rotation 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 Android200.0 - 300.0
Xamarin.Android100.0 - 100.15
In this article
Provide feedback
Back to top Copyright © 2025 Esri.