Properties that can be passed into the constructor for data/FeatureSettings!FeatureSettings.

interface FeatureSettingsProperties {
    formatSettings?: FormatSettingsProperties;
    hyperlinkTemplates?: (HyperlinkProperties | Hyperlink)[];
    maxAllowableOffset?: number;
    outFields?: string[];
    outSpatialReference?: SpatialReference;
    popupContentExtensions?: (PopupContentExtensionProperties | PopupContentExtension)[];
    popupTemplate?: PopupTemplate | PopupInfoJson;
    returnGeometry?: boolean;
    showRelatedRecordsWhenUnconfigured?: boolean;
    zoomFactor?: number;
    zoomScale?: number;
}

Properties

formatSettings?: FormatSettingsProperties

Settings affecting how feature attributes are formatted.

hyperlinkTemplates?: (HyperlinkProperties | Hyperlink)[]

Templates that define hyperlinks associated with the feature. Each template's properties can contain field tokens enclosed in {}, which will be replaced by actual field values. If not explicitly set, these will be inherited from the associated layer extension if there is one.

maxAllowableOffset?: number
outFields?: string[]
outSpatialReference?: SpatialReference
popupTemplate?: PopupTemplate | PopupInfoJson

The template for displaying content in a pop-up when the feature is selected. If not explicitly set, it will be inherited from the associated layer extension if there is one.

returnGeometry?: boolean
showRelatedRecordsWhenUnconfigured?: boolean
zoomFactor?: number
zoomScale?: number