PopupDefinition.withGeoElement constructor
- 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:
geoElement
— A PopupDefinition from the GeoElement.
Return Value: A popup definition object.