PopupField

Represents how a geoelement's attribute (field) should be displayed in a pop-up.

Since

200.1.0

Constructors

Link copied to clipboard
constructor()

Create a new popup field object. Use a popup field object to define how a field in the dataset participates (or does not participate) in a pop-up window.

Properties

Link copied to clipboard

The field name.

Link copied to clipboard

The format used to display the field. The format is used with numerical or date fields to provide more detail about how the value should be displayed in a pop-up window.

Link copied to clipboard

A flag indicating whether users can edit the field.

Link copied to clipboard

A flag indicating whether the field is visible in the pop-up.

Link copied to clipboard

The field label. The field label (alias) can be overridden by the web map author.

Link copied to clipboard

The type of input box editors see when editing the field. Applies only to string fields.

Link copied to clipboard

A string providing an editing hints for editors of the field. This string can provide a short description of the field and how editors should format or supply its value.