layout: default title: ExpressionInfo parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Popups

ExpressionInfo Class

The ExpressionInfo class references Arcade expressions following the specification defined by the Arcade Popup
Profile. Expressions must return a string or a number and may access data values from the feature, its layer, or
other layers in the map or datastore with the $feature, $layer, $map, and $datastore profile variables.
Expression names are referenced in a layer’s PopupTemplate and execute once a layer’s popup is opened. The values
display within the view’s popup as if they are field values. They can be displayed in a table using the FieldInfo
of the popupTemplate’s content or referenced within a simple string.
ArcGIS Maps SDK for JavaScript

public class ExpressionInfo : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 ExpressionInfo

Constructors

ExpressionInfo() Constructor

Parameterless constructor for using as a razor component

public ExpressionInfo();

ExpressionInfo(string, string, string, Nullable) Constructor

Constructor for creating a new ExpressionInfo in code with parameters

public ExpressionInfo(string? expression, string? name, string? title, System.Nullable<dymaptic.GeoBlazor.Core.Components.Popups.ReturnType> returnType);

Parameters

expression System.String

An Arcade expression following the specification defined by the Arcade Popup Profile. Expressions must return a

name System.String

The name of the expression. This is used to reference the value of the given expression in the popupTemplate’s

title System.String

The title used to describe the value returned by the expression in the popup. This will display if the value is

returnType System.Nullable<ReturnType>

Indicates the return type of the Arcade expression.

Properties

ExpressionInfo.Expression Property

An Arcade expression following the specification defined by the Arcade Popup Profile. Expressions must return a
string or a number and may access data values from the feature, its layer, or other layers in the map or datastore
with the $feature, $layer, $map, and $datastore profile variables.

public string? Expression { get; set; }

Property Value

System.String

ExpressionInfo.Name Property

The name of the expression. This is used to reference the value of the given expression in the popupTemplate’s
content property by wrapping it in curly braces and prefacing it with expression/ (e.g.
{expression/expressionName}).

public string? Name { get; set; }

Property Value

System.String

ExpressionInfo.ReturnType Property

Indicates the return type of the Arcade expression.

public System.Nullable<dymaptic.GeoBlazor.Core.Components.Popups.ReturnType> ReturnType { get; set; }

Property Value

System.Nullable<ReturnType>

ExpressionInfo.Title Property

The title used to describe the value returned by the expression in the popup. This will display if the value is
referenced in a FieldInfo table.

public string? Title { get; set; }

Property Value

System.String