Show / Hide Table of Contents

Property UserInput

UserInput

Gets or sets the geometry of the click or tap location that invoked the popup.

Declaration
public Geometry UserInput { get; set; }
Property Value
Type Description
Geometry

The geometry of the click or tap location that invoked the popup.

Remarks

If Popup expressions reference the variable $userInput, the variable will be replaced by the UserInput value. Typically, this represents the map location the user clicked or tapped to launch a popup. This value may be a MapPoint, an Envelope, or perhaps null (if the popup wasn't opened from map interaction). Therefore, check the geometry type before using it in an Arcade expression. A value for this property should be set by the SDK that opens a popup to ensure that Arcade expressions are evaluated correctly. If the Popup is created from a call to an identify method that returns popups, such as GeoView.IdentifyLayerAsync(Esri.ArcGISRuntime.Mapping.Layer, Point, double, bool), the UserInput will be automatically initialized with the coordinate where the identify operation began. If the Popup is created manually, a value for this property should be set to ensure that Arcade expressions are evaluated correctly.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.7 - 200.8
.NET200.7 - 200.8
.NET Windows200.7 - 200.8
.NET Android200.7 - 200.8
.NET iOS200.7 - 200.8
.NET Framework200.7 - 200.8
UWP200.7 - 200.8
In This Article
Back to top Copyright © 2022 Esri.