PopupDefinition

constructor()

Creates a new popup definition. Use this object to define the look and feel of pop-up windows when users click or query a feature.

Since

200.1.0


constructor(geoElement: GeoElement)

Creates a new popup definition from a GeoElement.

This creates a new popup definition with default properties and default popup elements based on the geoelement fields. Use this object to define the look and feel of pop-up windows when users click or query a feature.

Since

200.1.0

Parameters

geoElement

The geoelement for the popup, such as a Feature or Graphic.


constructor(popupSource: PopupSource)

Creates a new popup definition from a popup source.

This creates a new popup definition with default properties and default popup elements based on the popup source fields. Use this object to define the look and feel of pop-up windows when users click or query a feature.

Since

200.1.0

Parameters

popupSource

The popup source for the popup definition, such as a FeatureLayer or GraphicsOverlay