Click or drag to resize

GeoView Class

A base class for the map control.
Inheritance Hierarchy

Namespace:  Esri.ArcGISRuntime.UI.Controls
Assembly:  Esri.ArcGISRuntime.WPF (in Esri.ArcGISRuntime.WPF.dll) Version: 100.9.0
Syntax
public abstract class GeoView : Control, 
	INotifyPropertyChanged

The GeoView type exposes the following members.

Properties
  NameDescription
Public propertyAttributionText
Gets the full attribution text for all active layers, concatenated into a single string.
Public propertyDrawStatus
Returns the current draw status
Public propertyGraphicsOverlays
Gets or sets the GraphicsOverlayCollection.
Public propertyIsAttributionTextVisible
Gets or sets a value indicating whether Esri attribution text is visible.
Public propertyIsCalloutVisible
Gets a value indicating whether a callout is currently open
Public propertyIsNavigating
Gets a value indicating whether the map is currently navigating. when navigation has finished the NavigationCompleted event will be raised.
Public propertyIsWrapAroundEnabled
Indicates 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.
Public propertyOverlays
Gets the XAML elements that can be used to overlay on the map, and placed using the MapOverlayAnchor attached property.
Public propertySelectionProperties
Gets or sets the selection properties that is applied to graphic overlays and layers within the view.
Public propertySpatialReference
Gets the current spatial reference of the map
Public propertyTimeExtent
Gets or sets the time extent that is applied to layers within the view
Public propertyViewInsets
Gets or sets the viewport inset padding.
Top
Methods
  NameDescription
Public methodCancelSetViewpointOperations
Cancels any pending or currently running SetViewpointAsync operations.
Public methodDismissCallout
Dismisses a callout if it's open.
Public methodExportImageAsync
Creates an image snapshot of the current map view
Public methodGetCurrentViewpoint
Gets the current Viewpoint of the view.
Public methodGetLayerViewState
Gets the LayerViewState for the given layer.
Public methodStatic memberGetViewOverlayAnchor
Gets the value of the ViewOverlayAnchor XAML attached property from the specified FrameworkElement.
Public methodIdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean)
Initiates an identify operation on the specified graphics overlay which will return the visible topmost graphic.
Public methodIdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean, Int64)
Initiates an identify operation on the specified graphics overlay.
Public methodIdentifyGraphicsOverlaysAsync(Point, Double, Boolean)
Initiate an identify operation on all graphics overlays which will return the single visible topmost graphic per overlay only.
Public methodIdentifyGraphicsOverlaysAsync(Point, Double, Boolean, Int64)
Initiate an identify operation on all graphics overlays.
Public methodIdentifyLayerAsync(Layer, Point, Double, Boolean)
Initiates an identify operation on the specified layer which will return the single visible topmost GeoElement only.
Public methodIdentifyLayerAsync(Layer, Point, Double, Boolean, Int64)
Initiates an identify operation on the specified layer.
Public methodIdentifyLayerAsync(Layer, Point, Double, Boolean, CancellationToken)
Initiates an identify operation on the specified layer which will return the single visible topmost GeoElement only.
Public methodIdentifyLayerAsync(Layer, Point, Double, Boolean, Int64, CancellationToken)
Initiates an identify operation on the specified layer.
Public methodIdentifyLayersAsync(Point, Double, Boolean)
Initiates an identify operation on all layers in the view which will return the single visible topmost GeoElement per layer only.
Public methodIdentifyLayersAsync(Point, Double, Boolean, Int64)
Initiates an identify operation on all layers in the view.
Public methodIdentifyLayersAsync(Point, Double, Boolean, CancellationToken)
Initiates an identify operation on all layers in the view which will return the single visible topmost GeoElement per layer only.
Public methodIdentifyLayersAsync(Point, Double, Boolean, Int64, CancellationToken)
Initiates an identify operation on all layers in the view.
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
(Overrides FrameworkElementOnApplyTemplate.)
Public methodSetBookmarkAsync
Sets the GeoView's viewpoint with the bookmark's value.
Public methodStatic memberSetViewOverlayAnchor
Sets the value of the ViewOverlayAnchor XAML attached property on the specified FrameworkElement.
Public methodSetViewpoint
Sets the view to the given Viewpoint location
Public methodSetViewpointAsync(Viewpoint)
Animates the view to the given Viewpoint location
Public methodSetViewpointAsync(Viewpoint, TimeSpan)
Animates the view to the given Viewpoint location
Public methodShowCalloutAt(MapPoint, CalloutDefinition)
Shows a callout based on a CalloutDefinition at the given location.
Public methodShowCalloutAt(MapPoint, UIElement, Point)
Shows a callout at the given location with Visual Element as content
Public methodShowCalloutForGeoElement
Shows a callout for the given GeoElement at an appropriate location for the tap location by snapping to the geometry of the element.
Top
Events
  NameDescription
Public eventDrawStatusChanged
Occurs when the DrawStatus property of this instance changes.
Public eventGeoViewDoubleTapped
Occurs when an otherwise unhandled DoubleTap interaction occurs over the hit test area of the view.
Public eventGeoViewHolding
Occurs when an otherwise unhandled holding interaction occurs over the hit test area of the view.
Public eventGeoViewTapped
Occurs when an otherwise unhandled Tap interaction occurs over the hit test area of the view.
Public eventLayerViewStateChanged
Occurs when the LayerViewState of a contained layer changes.
Public eventNavigationCompleted
When navigation on the map has completed this event will be raised.
Public eventSpatialReferenceChanged
Occurs when spatial reference of the view changes.
Public eventViewpointChanged
Occurs when the current viewpoint changes.
Top
Fields
  NameDescription
Public fieldStatic memberGraphicsOverlaysProperty
Identifies the GraphicsOverlays dependency property.
Public fieldStatic memberIsAttributionTextVisibleProperty
Identifies the IsAttributionTextVisible Dependency Property
Public fieldStatic memberOverlaysProperty
Identifies the Overlays dependency property.
Public fieldStatic memberSelectionPropertiesProperty
Identifies the SelectionProperties dependency property.
Public fieldStatic memberTimeExtentProperty
Identifies the TimeExtent dependency property.
Public fieldStatic memberViewInsetsProperty
Identifies the ViewInsets dependency property.
Public fieldStatic memberViewOverlayAnchorProperty
Identifies the ViewOverlayAnchor dependency property.
Top
Attached Properties
  NameDescription
Public attached propertyViewOverlayAnchor
Identifies the ViewOverlayAnchor dependency property.
Top
See Also