PopupDefinition.withGeoElement constructor

PopupDefinition.withGeoElement(
  1. GeoElement geoElement
)

Creates a new popup definition from a geo element.

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.

Parameters:

Return Value: A popup definition object.