An implementation of FeatureSettings that mirrors the equivalent properties on an Esri BuildingSublayer object.

Hierarchy

  • PopupTemplateFeatureSettings
    • BuildingSublayerFeatureSettings

Constructors

Properties

_handles: Handles<unknown, ResourceHandle>

The parent sublayer extension.

Do not directly reference this property. Use EventNames and EventTypes helpers from @arcgis/core/Evented.

popupContentExtensions: PopupContentExtensionCollection

The PopupContentExtensions associated with each popupContent of the schema.

Accessors

  • get _bindings(): Map<keyof this, string>
  • Returns Map<keyof this, string>

  • get _defaultOutFields(): string[]
  • Returns the default outFields for the corresponding FeatureSource.

    Returns string[]

  • get formatSettings(): FormatSettings
  • Settings affecting how feature attributes are formatted.

    Returns FormatSettings

  • get hyperlinkTemplates(): Collection<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.

    Returns Collection<Hyperlink>

  • get maxAllowableOffset(): number
  • The default maximum allowable offset used for generalizing geometries returned by the query operation.

    Returns number

  • set maxAllowableOffset(value): void
  • Parameters

    • value: number

    Returns void

  • get outFields(): string[]
  • Fields that should be returned for each feature by default.

    Returns string[]

  • set outFields(value): void
  • Parameters

    • value: string[]

    Returns void

  • get outSpatialReference(): SpatialReference
  • The default spatial reference for the returned geometry.

    Returns SpatialReference

  • set outSpatialReference(value): void
  • Parameters

    • value: SpatialReference

    Returns void

  • get parent(): this
  • The parent settings that these settings will inherit from.

    Returns this

  • set parent(value): void
  • Parameters

    • value: this

    Returns void

  • get popupTemplate(): PopupTemplate
  • The template for displaying content in a pop-up when the feature is selected.

    Returns PopupTemplate

  • set popupTemplate(value): void
  • Parameters

    • value: PopupTemplate

    Returns void

  • get returnGeometry(): boolean
  • Whether geometry for features should be returned by default.

    Returns boolean

  • set returnGeometry(value): void
  • Parameters

    • value: boolean

    Returns void

  • get showRelatedRecordsWhenUnconfigured(): boolean
  • Whether all related records should be shown, even if not found configured in the web map popup.

    Returns boolean

  • set showRelatedRecordsWhenUnconfigured(value): void
  • Parameters

    • value: boolean

    Returns void

  • get zoomFactor(): number
  • Specifies the desired extent to zoom to when zooming to a feature as a multiple of the feature's extent. The default is 1.5. Not applicable for features whose geometry is a point.

    Returns number

  • set zoomFactor(value): void
  • Parameters

    • value: number

    Returns void

  • get zoomScale(): number
  • The scale to zoom the map to when zooming to a feature. This will override zoomFactor if also set.

    Returns number

  • set zoomScale(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • Binds a setting to an equivalent property on the layer.

    Type Parameters

    Parameters

    • setting: K

      The name of the setting to bind.

    • OptionallayerProperty: string

      The name of the property to bind to, if it differs from the setting.

    Returns void

  • Creates the backing collection for popup content.

    Returns Collection<Content>

  • Gets the value for a setting that represents a collection.

    Type Parameters

    • T

    Parameters

    Returns Collection<T>

  • Gets a property which is itself an instance of Settings.

    Type Parameters

    Parameters

    Returns T

  • Type Parameters

    Parameters

    • setting: K

    Returns boolean

  • Invoked when the layer is available.

    Parameters

    Returns void

  • Sets the parent settings that these settings will inherit from.

    Parameters

    Returns void

  • Sets the value for a setting. This will override any inherited value for the setting.

    Type Parameters

    Parameters

    Returns void

  • Parameters

    • properties: Partial<unknown>

    Returns void

  • Parameters

    • properties: Partial<unknown>

    Returns Promise<void>

  • Returns void

  • Returns Promise<void>

  • Type Parameters

    • K extends never

    Parameters

    • key: K

    Returns unknown

  • Returns the serializable properties.

    Parameters

    • serializeMode: SerializeMode = "all"

      Optional. If specified, only properties that support the given serialization mode will be returned.

    Returns PropertyDefs<unknown>

  • Determines whether the settings have been locally modified in any way.

    Returns boolean

  • Determines whether the specified setting has been locally modified, and is thus overriding any inherited value.

    Parameters

    Returns boolean

  • Removes all local overrides, resetting all settings to their inherited values, if any.

    Returns void

  • Removes a local override for a setting and resets it to its inherited value, if any.

    Parameters

    Returns void