Class GeoView
A base class for the map control.
Implements
Namespace: Esri.ArcGISRuntime.UI.Controls
Assembly: Esri.ArcGISRuntime.WinUI.dll
Syntax
public abstract class GeoView : Control, INotifyPropertyChanged
Fields
Name | Description |
---|---|
GraphicsOverlaysProperty | Identifies the GraphicsOverlays dependency property. |
IsAttributionTextVisibleProperty | Identifies the IsAttributionTextVisible Dependency Property |
LabelingProperty | Identifies the Labeling Dependency Property |
OverlaysProperty | Identifies the Overlays dependency property. |
SelectionPropertiesProperty | Identifies the SelectionProperties dependency property. |
TimeExtentProperty | Identifies the TimeExtent dependency property. |
ViewInsetsProperty | Identifies the ViewInsets dependency property. |
ViewOverlayAnchorProperty | Identifies the ViewOverlayAnchor dependency property. |
Properties
Name | Description |
---|---|
AttributionText | Gets the full attribution text for all active layers, concatenated into a single string. |
DrawStatus | Gets the current draw status. |
GraphicsOverlays | Gets or sets the GraphicsOverlayCollection. |
IsAttributionTextVisible | Gets or sets a value indicating whether 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 | Gets 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. |
Overlays | Gets or sets the XAML elements that can be used to overlay on the map, and placed using the . attached property. |
SelectionProperties | Gets or sets the selection properties that is applied to graphic overlays and layers within the view. |
SpatialReference | Gets the current spatial reference of the map. |
TimeExtent | Gets or sets the time extent that is applied to layers within the view |
ViewInsets | Gets or sets the viewport inset padding. |
Methods
Name | Description |
---|---|
CancelSetViewpointOperations() | Cancels any pending or currently running SetViewpointAsync operations. |
DismissCallout() | Dismisses a callout if it's open. |
ExportImageAsync() | Creates an image snapshot of the current map view |
GetCurrentViewpoint(ViewpointType) | Gets the current Viewpoint of the view. |
GetLayerViewState(Layer) | Gets the LayerViewState for the given layer. |
GetViewOverlayAnchor(FrameworkElement) | Gets the value of the ViewOverlayAnchor XAML attached property from the specified |
IdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean) | Initiates an identify operation on the specified graphics overlay which will return the visible topmost graphic. |
IdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean, Int64) | Initiates an identify operation on the specified graphics overlay. |
IdentifyGraphicsOverlaysAsync(Point, Double, Boolean) | Initiate an identify operation on all graphics overlays which will return the single visible topmost graphic per overlay only. |
IdentifyGraphicsOverlaysAsync(Point, Double, Boolean, Int64) | Initiate an identify operation on all graphics overlays. |
IdentifyLayerAsync(Layer, Point, Double, Boolean) | Initiates an identify operation on the specified layer which will return the single visible topmost GeoElement only. |
IdentifyLayerAsync(Layer, Point, Double, Boolean, Int64) | Initiates an identify operation on the specified layer. |
IdentifyLayerAsync(Layer, Point, Double, Boolean, Int64, CancellationToken) | Initiates an identify operation on the specified layer. |
IdentifyLayerAsync(Layer, Point, Double, Boolean, CancellationToken) | Initiates an identify operation on the specified layer which will return the single visible topmost GeoElement only. |
IdentifyLayersAsync(Point, Double, Boolean) | Initiates an identify operation on all layers in the view which will return the single visible topmost GeoElement per layer only. |
IdentifyLayersAsync(Point, Double, Boolean, Int64) | Initiates an identify operation on all layers in the view. |
IdentifyLayersAsync(Point, Double, Boolean, Int64, CancellationToken) | Initiates an identify operation on all layers in the view. |
IdentifyLayersAsync(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. |
OnApplyTemplate() | |
OnLostFocus(RoutedEventArgs) | Called before the |
SetBookmarkAsync(Bookmark) | Sets the GeoView's viewpoint with the bookmark's value. |
SetViewOverlayAnchor(FrameworkElement, MapPoint) | Sets the value of the ViewOverlayAnchor XAML attached property on the specified |
SetViewpoint(Viewpoint) | Sets the view to the given Viewpoint location |
SetViewpointAsync(Viewpoint) | Animates the view to the given Viewpoint location |
SetViewpointAsync(Viewpoint, TimeSpan) | Animates the view to the given Viewpoint location |
ShowCalloutAt(MapPoint, CalloutDefinition) | Shows a callout based on a CalloutDefinition at the given location. |
ShowCalloutAt(MapPoint, UIElement, Windows.Foundation.Point) | Shows a callout at the given location with Visual Element as content |
ShowCalloutForGeoElement(GeoElement, Windows.Foundation.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 |
---|---|
DrawStatusChanged | Occurs when the DrawStatus property of this instance changes. |
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 LayerViewState of a contained layer changes. |
NavigationCompleted | When navigation on the map has completed this event will be raised. |
SpatialReferenceChanged | Occurs when spatial reference of the view changes. |
ViewpointChanged | Occurs when the current viewpoint changes. |
Name | Description |
---|---|
INotifyPropertyChanged.PropertyChanged | Occurs when a property value changes. |
See Also
Applies to
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |