PopupDefinition.withPopupSource 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.
Parameters:
popupSource
— A PopupDefinition from the PopupSource.
Return Value: A popup definition object.