Class GeoViewController
Helper class for separating GeoView and ViewModel in an MVVM pattern, while allowing operations on the view from the ViewModel.
Inheritance
GeoViewController
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
public class GeoViewController
Fields
|
Improve this Doc
View Source
Declaration
public static readonly DependencyProperty GeoViewControllerProperty
Field Value
Properties
|
Improve this Doc
View Source
Gets a reference to the GeoView this controller is currently connected to.
Declaration
protected GeoView? ConnectedView { get; }
Property Value
Methods
|
Improve this Doc
View Source
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
Declaration
public virtual void DismissCallout()
|
Improve this Doc
View Source
Declaration
public virtual Viewpoint? GetCurrentViewpoint(ViewpointType viewpointType)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static GeoViewController GetGeoViewController(UI.Xaml.DependencyObject geoView)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual async Task<IdentifyGraphicsOverlayResult?> IdentifyGraphicsOverlayAsync(GraphicsOverlay overlay, Windows.Foundation.Point screenPoint, double tolerance, bool returnPopupsOnly = false, long maximumResults = 1L)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual Task<IReadOnlyList<IdentifyGraphicsOverlayResult>> IdentifyGraphicsOverlaysAsync(Windows.Foundation.Point screenPoint, double tolerance, bool returnPopupsOnly = false, long maximumResultsPerOverlay = 1L)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual async Task<IdentifyLayerResult?> IdentifyLayerAsync(Layer layer, Windows.Foundation.Point screenPoint, double tolerance, bool returnPopupsOnly = false, CancellationToken cancellationToken = null)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual Task<IReadOnlyList<IdentifyLayerResult>> IdentifyLayersAsync(Windows.Foundation.Point screenPoint, double tolerance, bool returnPopupsOnly = false, CancellationToken cancellationToken = null)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
protected virtual void OnGeoViewAttached(GeoView geoView)
Parameters
Type |
Name |
Description |
GeoView |
geoView |
|
|
Improve this Doc
View Source
Declaration
protected virtual void OnGeoViewDetached(GeoView geoView)
Parameters
Type |
Name |
Description |
GeoView |
geoView |
|
|
Improve this Doc
View Source
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
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
Declaration
public static void SetGeoViewController(UI.Xaml.DependencyObject geoView, GeoViewController value)
Parameters
|
Improve this Doc
View Source
Declaration
public virtual void SetViewpoint(Viewpoint viewpoint)
Parameters
|
Improve this Doc
View Source
Declaration
public virtual Task<bool> SetViewpointAsync(Viewpoint viewpoint)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public virtual void ShowCalloutAt(Geometry.MapPoint location, CalloutDefinition definition)
Parameters
|
Improve this Doc
View Source
Declaration
public virtual void ShowCalloutForGeoElement(GeoElement element, Windows.Foundation.Point tapPosition, CalloutDefinition definition)
Parameters