Element


Properties

id

id: string

The string identifying the element


type

type: string

The type of element, such as a Place, Polygon, Line, Route, etc.


groupId

groupId: null | string

The ID of the element group that the element belongs to, or null if the element is not inside an element group.


name

name: null | string

The name of the element can be displayed in the Legend, depending on how the element's legend is configured in its style.


description

description: null | string

The element description forms part of the element's metadata. This is visible to users via the element info button in the legend.


attributes

attributes: Record<string, unknown>

The attributes of the element, which can be added via the Element Inspector under the Detail tab.

Last updated