interface FeatureJson {
    attributes?: Record<string, unknown>;
    geometry?: GeometryJson;
    popupInfo?: PopupInfoJson;
    symbol?: SymbolJson;
}

Properties

attributes?: Record<string, unknown>

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.

geometry?: GeometryJson

The feature geometry.

popupInfo?: PopupInfoJson

A popupInfo object defining the content of popup window when you click a feature on the map. Applicable to features in a map notes feature layer only.

symbol?: SymbolJson

Symbol used for drawing the feature.