Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional allowUnsafeContent

allowUnsafeContent: boolean

Optional attributes

attributes: object

The feature attributes. It is a JSON object that contains a dictionary of name-value pairs. The names are the feature field names. The values are the field values and they can be any of the standard JSON types - string, number and boolean. Note that date values are encoded as numbers. The number represents the number of milliseconds since epoch (January 1, 1970) in UTC.

Type declaration

  • [name: string]: any

Optional borderColor

borderColor: Color

Optional borderWidth

borderWidth: number

Optional defaultDateFormat

defaultDateFormat: string

Optional defaultNumberFormat

defaultNumberFormat: string

Optional displayTimeZoneId

displayTimeZoneId: string

Optional extendedProperties

extendedProperties: object

Type declaration

  • [name: string]: any

Optional featureLayer

featureLayer: ServiceLayer

The Esri feature layer containing field metadata for formatting attribute data. Only necessary when the feature is not associated with an Essentials Layer.

featureSet

featureSet: FeatureSet

Optional fillColor

fillColor: Color

Optional geometry

geometry: Geometry

The feature geometry.

Optional id

id: any

The primary key value for the feature. If specified, layer must also be specified. In this case, the {@link webMap.Feature.attributes} and {@link webMap.Feature.geometry} should not be specified. Instead, they will be fetched by querying the layer.

Optional layer

layer: Layer

The Essentials layer associated with the feature. Only necessary if featureSet is not specified.

Optional selected

selected: boolean

Optional timeZoneId

timeZoneId: string