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

interface FeatureSetProperties {
    features?: (Feature | FeatureProperties)[];
    id?: string;
    schema?: SchemaProperties;
    settings?: FeatureSettingsProperties;
    source?: FeatureSource;
    title?: string;
}

Hierarchy (view full)

Properties

features?: (Feature | FeatureProperties)[]

The features contained in the set.

id?: string

The unique ID to assign to the entity. If not specified, one will be generated.

Metadata about features such as fields, domains, and geometry type.

Default settings that apply to features in this set.

source?: FeatureSource

The source for the features.

title?: string

A human-readable name for the feature set.