Popup constructor

Popup({
  1. required GeoElement geoElement,
  2. PopupDefinition? popupDefinition,
})

Creates a new popup from a geo element and a popup definition.

If the popup definition is null, a default one will be created from the geo element.

Parameters: