# Interface FeatureSettingsProperties

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;
}

#####
Index

### Properties

formatSettings?
hyperlinkTemplates?
maxAllowableOffset?
outFields?
outSpatialReference?
popupContentExtensions?
popupTemplate?
returnGeometry?
showRelatedRecordsWhenUnconfigured?
zoomFactor?
zoomScale?

##
Properties

### `Optional` formatSettings

formatSettings?: FormatSettingsProperties

Settings affecting how feature attributes are formatted.

### `Optional` hyperlinkTemplates

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.

### `Optional` maxAllowableOffset

maxAllowableOffset?: number

See data/FeatureSettings!FeatureSettings.maxAllowableOffset.

### `Optional` outFields

outFields?: string[]

See data/FeatureSettings!FeatureSettings.outFields.

### `Optional` outSpatialReference

outSpatialReference?: SpatialReference

See data/FeatureSettings!FeatureSettings.outSpatialReference.

### `Optional` popupContentExtensions

popupContentExtensions?: (PopupContentExtensionProperties | PopupContentExtension)[]

See data/FeatureSettings!FeatureSettings.popupContentExtensions.

### `Optional` popupTemplate

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.

### `Optional` returnGeometry

returnGeometry?: boolean

See data/FeatureSettings!FeatureSettings.returnGeometry.

### `Optional` showRelatedRecordsWhenUnconfigured

showRelatedRecordsWhenUnconfigured?: boolean

See data/FeatureSettings!FeatureSettings.showRelatedRecordsWhenUnconfigured.

### `Optional` zoomFactor

zoomFactor?: number

See data/FeatureSettings!FeatureSettings.zoomFactor.

### `Optional` zoomScale

zoomScale?: number

See data/FeatureSettings!FeatureSettings.zoomScale.