Skip to main content

Enumeration: TagMode

component.TagMode

Enumeration for tag modes

readonly

description Modes for the interaction in the tag component.

Enumeration members#

CreatePoint#

• CreatePoint = 1

Create a point geometry through a click.

Defined in#

component/tag/TagMode.ts:16


CreatePoints#

• CreatePoints = 2

Create a points geometry through clicks.

Defined in#

component/tag/TagMode.ts:21


CreatePolygon#

• CreatePolygon = 3

Create a polygon geometry through clicks.

Defined in#

component/tag/TagMode.ts:26


CreateRect#

• CreateRect = 4

Create a rect geometry through clicks.

Defined in#

component/tag/TagMode.ts:31


CreateRectDrag#

• CreateRectDrag = 5

Create a rect geometry through drag.

description Claims the mouse which results in mouse handlers like drag pan and scroll zoom becoming inactive.

Defined in#

component/tag/TagMode.ts:39


Default#

• Default = 0

Disables creating tags.

Defined in#

component/tag/TagMode.ts:11