setPopupDefinitionOverride method

void setPopupDefinitionOverride({
  1. required Feature feature,
  2. PopupDefinition? popupDefinition,
})

Sets the popup definition override for the given feature in the feature collection table.

If a Popup is created from a call to an identify method that returns popups, such as GeoViewController.identifyLayer, then the Popup.popupDefinition will be the overridden definition if the feature originates from a feature collection.

Parameters:

  • feature — The feature to set the popup definition override for.
  • popupDefinition — The PopupDefinition. Can be null.