Show / Hide Table of Contents

Class GeoViewController

Helper class for separating GeoView and ViewModel in an MVVM pattern, while allowing operations on the view from the ViewModel.

Inheritance
object
GeoViewController
MapViewController
MapViewController
MapViewController
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class GeoViewController

Fields

Name Description
GeoViewControllerProperty

Identifies the GeoViewController attached property.

Properties

Name Description
ConnectedView

Gets a reference to the GeoView this controller is currently connected to.

Methods

Name Description
Attach(GeoView?)

Attaches a geoview to the controller, or detaches if null.

DismissCallout()

Dismisses a callout if it's open.

GetCurrentViewpoint(ViewpointType)

Gets the current Viewpoint of the GeoView.

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

Identifies a limited number of graphics in all graphics overlays, 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, CancellationToken)

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

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.

OnGeoViewAttached(GeoView)

Raised when the GeoViewController has been attached to a GeoView.

OnGeoViewDetached(GeoView)

Raised when the GeoViewController has been detached from a GeoView.

OnGeoViewLoaded(GeoView)

Raised when the attached GeoView loads into the active view.

OnGeoViewUnloaded(GeoView)

Raised when the attached GeoView unloads from the active view.

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.

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.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX