Skip to main content

Class: TagFeature

A Tag feature.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new TagFeature(tag)

Parameters

NameTypeDescription
tagstringThe tag stored with the feature.

Overrides

Feature.constructor

Properties

type

Readonly type: FeatureType

Inherited from

Feature.type


tag

Readonly tag: string

Defines a tag for the data.

Methods

getType

getType(): FeatureType

Get the type of feature.

Returns

FeatureType

Inherited from

Feature.getType


getTag

getTag(): string

Get the tag.

Returns

string