user Input
The geometry of the click or tap location that invoked the popup.
If Popup expressions reference the variable $userInput
, the variable will be replaced by the Popup.userInput value. Typically, this represents the map location the user clicked or tapped to launch a popup. This value may be a Point, 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. If the Popup is created from a call to an identify method that returns popups, such as GeoView.identifyLayer, the Popup.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.
Since
200.7.0