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
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class GeoViewController

Fields

| Improve this Doc View Source

GeoViewControllerProperty

Identifies the GeoViewController attached property.

Declaration
public static readonly BindableProperty GeoViewControllerProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

ConnectedView

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

Declaration
protected GeoView? ConnectedView { get; }
Property Value
Type Description
Nullable<GeoView>

Methods

| Improve this Doc View Source

Attach(Nullable<GeoView>)

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

Declaration
public void Attach(GeoView? geoView)
Parameters
Type Name Description
Nullable<GeoView> geoView

The to attach, or null is detaching.

| Improve this Doc View Source

DismissCallout()

Declaration
public virtual void DismissCallout()
| Improve this Doc View Source

GetCurrentViewpoint(ViewpointType)

Declaration
public virtual Viewpoint? GetCurrentViewpoint(ViewpointType viewpointType)
Parameters
Type Name Description
ViewpointType viewpointType
Returns
Type Description
Nullable<Viewpoint>
| Improve this Doc View Source

IdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean, Int64)

Declaration
public virtual async Task<IdentifyGraphicsOverlayResult?> IdentifyGraphicsOverlayAsync(GraphicsOverlay overlay, Point screenPoint, double tolerance, bool returnPopupsOnly = false, long maximumResults = 1L)
Parameters
Type Name Description
GraphicsOverlay overlay
Point screenPoint
Double tolerance
Boolean returnPopupsOnly
Int64 maximumResults
Returns
Type Description
Task<Nullable<IdentifyGraphicsOverlayResult>>
| Improve this Doc View Source

IdentifyGraphicsOverlaysAsync(Point, Double, Boolean, Int64)

Declaration
public virtual Task<IReadOnlyList<IdentifyGraphicsOverlayResult>> IdentifyGraphicsOverlaysAsync(Point screenPoint, double tolerance, bool returnPopupsOnly = false, long maximumResultsPerOverlay = 1L)
Parameters
Type Name Description
Point screenPoint
Double tolerance
Boolean returnPopupsOnly
Int64 maximumResultsPerOverlay
Returns
Type Description
Task<IReadOnlyList<IdentifyGraphicsOverlayResult>>
| Improve this Doc View Source

IdentifyLayerAsync(Layer, Point, Double, Boolean, CancellationToken)

Declaration
public virtual async Task<IdentifyLayerResult?> IdentifyLayerAsync(Layer layer, Point screenPoint, double tolerance, bool returnPopupsOnly = false, CancellationToken cancellationToken = null)
Parameters
Type Name Description
Layer layer
Point screenPoint
Double tolerance
Boolean returnPopupsOnly
CancellationToken cancellationToken
Returns
Type Description
Task<Nullable<IdentifyLayerResult>>
| Improve this Doc View Source

IdentifyLayersAsync(Point, Double, Boolean, CancellationToken)

Declaration
public virtual Task<IReadOnlyList<IdentifyLayerResult>> IdentifyLayersAsync(Point screenPoint, double tolerance, bool returnPopupsOnly = false, CancellationToken cancellationToken = null)
Parameters
Type Name Description
Point screenPoint
Double tolerance
Boolean returnPopupsOnly
CancellationToken cancellationToken
Returns
Type Description
Task<IReadOnlyList<IdentifyLayerResult>>
| Improve this Doc View Source

OnGeoViewAttached(GeoView)

Raised when the GeoViewController has been attached to a .

Declaration
protected virtual void OnGeoViewAttached(GeoView geoView)
Parameters
Type Name Description
GeoView geoView
| Improve this Doc View Source

OnGeoViewDetached(GeoView)

Raised when the GeoViewController has been detached from a .

Declaration
protected virtual void OnGeoViewDetached(GeoView geoView)
Parameters
Type Name Description
GeoView geoView
| Improve this Doc View Source

OnGeoViewLoaded(GeoView)

Raised when the attached loads into the active view.

Declaration
protected virtual void OnGeoViewLoaded(GeoView geoView)
Parameters
Type Name Description
GeoView geoView

GeoView that was loaded

| Improve this Doc View Source

OnGeoViewUnloaded(GeoView)

Raised when the attached unloads from the active view.

Declaration
protected virtual void OnGeoViewUnloaded(GeoView geoView)
Parameters
Type Name Description
GeoView geoView

GeoView that was unloaded

| Improve this Doc View Source

SetViewpoint(Viewpoint)

Declaration
public virtual void SetViewpoint(Viewpoint viewpoint)
Parameters
Type Name Description
Viewpoint viewpoint
| Improve this Doc View Source

SetViewpointAsync(Viewpoint)

Declaration
public virtual Task<bool> SetViewpointAsync(Viewpoint viewpoint)
Parameters
Type Name Description
Viewpoint viewpoint
Returns
Type Description
Task<Boolean>
| Improve this Doc View Source

SetViewpointAsync(Viewpoint, TimeSpan)

Declaration
public virtual Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration)
Parameters
Type Name Description
Viewpoint viewpoint
TimeSpan duration
Returns
Type Description
Task<Boolean>
| Improve this Doc View Source

ShowCalloutAt(Geometry.MapPoint, CalloutDefinition)

Declaration
public virtual void ShowCalloutAt(Geometry.MapPoint location, CalloutDefinition definition)
Parameters
Type Name Description
Geometry.MapPoint location
CalloutDefinition definition
| Improve this Doc View Source

ShowCalloutForGeoElement(GeoElement, Point, CalloutDefinition)

Declaration
public virtual void ShowCalloutForGeoElement(GeoElement element, Point tapPosition, CalloutDefinition definition)
Parameters
Type Name Description
GeoElement element
Point tapPosition
CalloutDefinition definition
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX