getPopupDefinitionWithFeature method

PopupDefinition? getPopupDefinitionWithFeature(
  1. Feature feature
)

Gets the popup definition for the given feature in the feature table.

Parameters:

  • feature — The feature to retrieve the popup definition for.

Return Value: If the feature has a popup definition override, this popup definition override is returned (see FeatureCollectionTable.setPopupDefinitionOverride), otherwise the popup definition of the feature table is returned. If the given feature is not in the table, null is returned.