Show / Hide Table of Contents

Class GeoView

A base class for all views that can display geographic content.

Inheritance
object
BindableObject
Element
StyleableElement
NavigableElement
VisualElement
View
GeoView
LocalSceneView
MapView
SceneView
Implements
INotifyPropertyChanged
IVisualTreeElement
IEffectControlProvider
IToolTipElement
IContextFlyoutElement
IAnimatable
IViewController
IVisualElementController
IElementController
IGestureController
IGestureRecognizers
IPropertyMapperView
IHotReloadableView
IReplaceableView
IGeoView
IView
IElement
ITransform
View.VerticalOptionsProperty
View.HorizontalOptionsProperty
View.MarginProperty
View.propertyMapper
View.ChangeVisualState()
View.GetChildElements(Point)
View.OnBindingContextChanged()
View.GetRendererOverrides<T>()
View.GestureController
View.GestureRecognizers
View.HorizontalOptions
View.Margin
View.VerticalOptions
VisualElement.NavigationProperty
VisualElement.StyleProperty
VisualElement.InputTransparentProperty
VisualElement.IsEnabledProperty
VisualElement.XProperty
VisualElement.YProperty
VisualElement.AnchorXProperty
VisualElement.AnchorYProperty
VisualElement.TranslationXProperty
VisualElement.TranslationYProperty
VisualElement.WidthProperty
VisualElement.HeightProperty
VisualElement.RotationProperty
VisualElement.RotationXProperty
VisualElement.RotationYProperty
VisualElement.ScaleProperty
VisualElement.ScaleXProperty
VisualElement.ScaleYProperty
VisualElement.ClipProperty
VisualElement.VisualProperty
VisualElement.IsVisibleProperty
VisualElement.OpacityProperty
VisualElement.BackgroundColorProperty
VisualElement.BackgroundProperty
VisualElement.BehaviorsProperty
VisualElement.TriggersProperty
VisualElement.WidthRequestProperty
VisualElement.HeightRequestProperty
VisualElement.MinimumWidthRequestProperty
VisualElement.MinimumHeightRequestProperty
VisualElement.MaximumWidthRequestProperty
VisualElement.MaximumHeightRequestProperty
VisualElement.IsFocusedProperty
VisualElement.FlowDirectionProperty
VisualElement.WindowProperty
VisualElement.ShadowProperty
VisualElement.ZIndexProperty
VisualElement.BatchBegin()
VisualElement.BatchCommit()
VisualElement.Focus()
VisualElement.Measure(double, double)
VisualElement.Measure(double, double, MeasureFlags)
VisualElement.Unfocus()
VisualElement.InvalidateMeasure()
VisualElement.OnChildAdded(Element)
VisualElement.OnChildRemoved(Element, int)
VisualElement.OnChildrenReordered()
VisualElement.OnMeasure(double, double)
VisualElement.OnSizeAllocated(double, double)
VisualElement.SizeAllocated(double, double)
VisualElement.RefreshIsEnabledProperty()
VisualElement.Arrange(Rect)
VisualElement.ArrangeOverride(Rect)
VisualElement.Layout(Rect)
VisualElement.InvalidateMeasureOverride()
VisualElement.MeasureOverride(double, double)
VisualElement.MapBackgroundColor(IViewHandler, IView)
VisualElement.MapBackgroundImageSource(IViewHandler, IView)
VisualElement.MapAccessKeyHorizontalOffset(IViewHandler, IView)
VisualElement.MapAccessKeyPlacement(IViewHandler, IView)
VisualElement.MapAccessKey(IViewHandler, IView)
VisualElement.MapAccessKeyVerticalOffset(IViewHandler, IView)
VisualElement.Visual
VisualElement.FlowDirection
VisualElement.Window
VisualElement.AnchorX
VisualElement.AnchorY
VisualElement.BackgroundColor
VisualElement.Background
VisualElement.Behaviors
VisualElement.Bounds
VisualElement.Height
VisualElement.HeightRequest
VisualElement.InputTransparent
VisualElement.IsEnabled
VisualElement.IsEnabledCore
VisualElement.IsFocused
VisualElement.IsVisible
VisualElement.MinimumHeightRequest
VisualElement.MinimumWidthRequest
VisualElement.MaximumHeightRequest
VisualElement.MaximumWidthRequest
VisualElement.Opacity
VisualElement.Rotation
VisualElement.RotationX
VisualElement.RotationY
VisualElement.Scale
VisualElement.ScaleX
VisualElement.ScaleY
VisualElement.TranslationX
VisualElement.TranslationY
VisualElement.Triggers
VisualElement.Width
VisualElement.WidthRequest
VisualElement.X
VisualElement.Y
VisualElement.Clip
VisualElement.Resources
VisualElement.Frame
VisualElement.Handler
VisualElement.Shadow
VisualElement.ZIndex
VisualElement.DesiredSize
VisualElement.IsLoaded
VisualElement.ChildrenReordered
VisualElement.Focused
VisualElement.MeasureInvalidated
VisualElement.SizeChanged
VisualElement.Unfocused
VisualElement.Loaded
VisualElement.Unloaded
NavigableElement.Navigation
StyleableElement.Style
StyleableElement.StyleClass
StyleableElement.class
Element.AutomationIdProperty
Element.ClassIdProperty
Element.InsertLogicalChild(int, Element)
Element.AddLogicalChild(Element)
Element.RemoveLogicalChild(Element)
Element.ClearLogicalChildren()
Element.FindByName(string)
Element.RemoveDynamicResource(BindableProperty)
Element.SetDynamicResource(BindableProperty, string)
Element.OnPropertyChanged(string)
Element.OnParentChanging(ParentChangingEventArgs)
Element.OnParentChanged()
Element.OnHandlerChanging(HandlerChangingEventArgs)
Element.MapAutomationPropertiesIsInAccessibleTree(IElementHandler, Element)
Element.MapAutomationPropertiesLabeledBy(IElementHandler, Element)
Element.MapAutomationPropertiesHelpText(IElementHandler, Element)
Element.MapAutomationPropertiesName(IElementHandler, Element)
Element.MapAutomationPropertiesExcludedWithChildren(IElementHandler, Element)
Element.AutomationId
Element.ClassId
Element.Effects
Element.Id
Element.StyleId
Element.Parent
Element.ChildAdded
Element.ChildRemoved
Element.DescendantAdded
Element.DescendantRemoved
Element.ParentChanging
Element.ParentChanged
Element.HandlerChanging
Element.HandlerChanged
BindableObject.BindingContextProperty
BindableObject.ClearValue(BindableProperty)
BindableObject.ClearValue(BindablePropertyKey)
BindableObject.GetValue(BindableProperty)
BindableObject.IsSet(BindableProperty)
BindableObject.RemoveBinding(BindableProperty)
BindableObject.SetBinding(BindableProperty, BindingBase)
BindableObject.ApplyBindings()
BindableObject.OnPropertyChanging(string)
BindableObject.UnapplyBindings()
BindableObject.SetValue(BindableProperty, object)
BindableObject.SetValue(BindablePropertyKey, object)
BindableObject.CoerceValue(BindableProperty)
BindableObject.CoerceValue(BindablePropertyKey)
BindableObject.Dispatcher
BindableObject.BindingContext
BindableObject.PropertyChanged
BindableObject.PropertyChanging
BindableObject.BindingContextChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Esri.ArcGISRuntime.Maui
Assembly: Esri.ArcGISRuntime.Maui.dll
Syntax
[WinRTRuntimeClassName("Microsoft.UI.Xaml.Data.INotifyPropertyChanged")]
[WinRTExposedType(typeof(GeoViewWinRTTypeDetails))]
public abstract class GeoView : View, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IGeoView, IView, IElement, ITransform
Remarks

Subclasses can display the content in either 2D (MapView) or 3D (SceneView). In an MVC architecture, this class and its subclasses represent the View tier. The Model tier is represented by GeoModel, which supplies the geographic content as a map (Map) or a scene (Scene).

GeoView contains all the common operations and events that apply to displaying and working with maps and scenes. For example, you can change the viewable area by setting a Viewpoint, work with graphics in the GraphicsOverlay, and identify a GeoElement that displays in the view.

Fields

Name Description
AnalysisOverlaysProperty

Identifies the AnalysisOverlays bindable property.

GraphicsOverlaysProperty

Identifies the GraphicsOverlays bindable property.

GridProperty

Identifies the Grid bindable property.

ImageOverlaysProperty

Identifies the ImageOverlays bindable property.

IsAttributionTextVisibleProperty

Identifies the IsAttributionTextVisible bindable property.

LabelingProperty

Identifies the Labeling bindable property.

SelectionPropertiesProperty

Identifies the SelectionProperties bindable property.

TimeExtentProperty

Identifies the TimeExtent bindable property.

ViewInsetsProperty

Identifies the ViewInsets bindable property.

Properties

Name Description
AnalysisOverlays

Gets or sets a collection of analysis overlays that render the analysis results on the view.

AttributionText

Gets the attribution text for the data that is currently displayed in the GeoView.

CriticalError

Gets the critical error on the view.

DrawStatus

Gets the current drawing status of the content displayed in the GeoView.

GeoModelError

Gets the geo model error on the view.

GraphicsOverlays

Gets or sets a collection of GraphicsOverlay objects used to display graphics on top of the view's content.

Grid

Gets or sets the grid that is available to the map for display.

ImageOverlays

Gets or sets a collection of overlays for displaying images in the view.

IsAttributionTextVisible

Gets or sets a value indicating whether the Esri attribution text is visible.

IsCalloutVisible

Gets a value indicating whether a callout is currently open

IsNavigating

Gets a value indicating whether the map is currently navigating. when navigation has finished the NavigationCompleted event will be raised.

IsWrapAroundEnabled

Gtes a value indicating whether the wrap around feature is currently active. For wrap around to be active the WrapAroundMode property must be set to true and the SpatialReference of the MapView control must be a SpatialReference that supports wrapping.

Labeling

Gets or sets the ViewLabelProperties.

SelectionProperties

Gets or sets the selection properties for all graphic overlays and selectable layers within the GeoView.

SpatialReference

Gets the spatial reference that defines the coordinate system used by the map or scene in the GeoView.

TimeExtent

Gets or sets the TimeExtent of the GeoView.

ViewInsets

Gets or sets the viewport inset.

Methods

Name Description
CancelSetViewpointOperations()

Cancels any pending or currently running SetViewpointAsync operations.

DismissCallout()

Dismisses a callout if it's open.

ExportImageAsync()

Exports an image snapshot of the current GeoView.

GetAnalysisViewState(Analysis)

Retrieves the analysis' state in the view.

GetCurrentViewpoint(ViewpointType)

Gets the current Viewpoint of the GeoView.

GetLayerViewState(Layer)

Gets the LayerViewState for the given layer.

IdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, double, bool)

Identifies the topmost graphic in the specified graphics overlay, at the given screen point.

IdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, double, bool, long)

Identifies a limited number of graphics in the specified graphics overlay, at the given screen point.

IdentifyGraphicsOverlaysAsync(Point, double, bool)

Identifies the topmost graphic in each graphics overlay, at the given screen point.

IdentifyGraphicsOverlaysAsync(Point, double, bool, long)

Identifies a limited number of graphics in all graphics overlays, at the given screen point.

IdentifyLayerAsync(Layer, Point, double, bool)

Initiates an identify operation on the specified layer which will return the single visible topmost geolement only.

IdentifyLayerAsync(Layer, Point, double, bool, long)

Identifies a limited number of geoelements in the specified layer or sublayer, at the given screen point.

IdentifyLayerAsync(Layer, Point, double, bool, long, CancellationToken)

Initiates an identify operation on the specified layer.

IdentifyLayerAsync(Layer, Point, double, bool, CancellationToken)

Initiates an identify operation on the specified layer which will return the single visible topmost geolement only.

IdentifyLayersAsync(Point, double, bool)

Identifies the topmost geoelements at the given screen point, in each identifiable layer or sublayer in the GeoView's Map or Scene.

IdentifyLayersAsync(Point, double, bool, long)

Identifies a limited number of geoelements at the given screen point, in each identifiable layer or sublayer in the GeoView's Map or Scene.

IdentifyLayersAsync(Point, double, bool, long, CancellationToken)

Initiates an identify operation on all layers in the view.

IdentifyLayersAsync(Point, double, bool, CancellationToken)

Initiates an identify operation on all layers in the view which will return the single visible topmost geoelement per layer only.

OnHandlerChanged()

When overridden in a derived class, should raise the HandlerChanged event.

OnParentSet()

Raises the (internal) ParentSet event.

SetBookmarkAsync(Bookmark)

Sets the Viewpoint of the GeoView to the Viewpoint.

SetViewpoint(Viewpoint)

Pan or zoom the GeoView to the specified Viewpoint location.

SetViewpointAsync(Viewpoint)

Pan or zoom the GeoView using animation to the specified Viewpoint location, asynchronously.

SetViewpointAsync(Viewpoint, TimeSpan)

Pan or zoom the GeoView using animation to the specified Viewpoint location. Animation takes place over the specified duration.

ShowCalloutAt(MapPoint, CalloutDefinition)

Shows a callout based on a CalloutDefinition at the given location.

ShowCalloutAt(MapPoint, VisualElement, Point)

Shows a callout at the given location with a VisualElement as content.

ShowCalloutForGeoElement(GeoElement, Point, CalloutDefinition)

Shows a callout for the given geoelement at an appropriate location for the tap location by snapping to the geometry of the element.

Events

Name Description
AnalysisViewStateChanged

Occurs when the analysis view state of the GeoView changes.

CriticalErrorChanged

Raised when a Critical rendering error has occured on the view.

DrawStatusChanged

Occurs when the draw status of the GeoView changes.

GeoModelErrorChanged

An event to notify that there is a geo model error with the view.

GeoViewDoubleTapped

Occurs when an otherwise unhandled DoubleTap interaction occurs over the hit test area of the view.

GeoViewHolding

Occurs when an otherwise unhandled holding interaction occurs over the hit test area of the view.

GeoViewTapped

Occurs when an otherwise unhandled Tap interaction occurs over the hit test area of the view.

LayerViewStateChanged

Occurs when the layer view state of any layer in the GeoView changes.

NavigationCompleted

When navigation on the map has completed this event will be raised.

SpatialReferenceChanged

Occurs when the spatial reference of the GeoView changes.

ViewpointChanged

Occurs when the viewpoint of the GeoView has changed.

Applies to

TargetVersions
.NET200.0 - 300.0
.NET Windows200.0 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
In this article
Provide feedback
Back to top Copyright © 2025 Esri.