PopupDefinition.withPopupSource constructor

PopupDefinition.withPopupSource(
  1. 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.

Parameters:

Return Value: A popup definition object.