# getId

Get layer id.

Returns String (opens new window)

# getIndex

Get layer index.

Returns Number (opens new window)

# getValues

Get layer values.

# Parameters

Returns Object (opens new window)

# getLabel

Get layer label.

Returns String (opens new window)

# isSelected

Check if the layer is selected.

Returns Boolean (opens new window)

# select

Select the layer.

# remove

Remove the layer.

# move

Move layer to a new index.

# Parameters

# getStylePreview

Get style object for the preview.

# Parameters

Returns Object (opens new window) Style object

# hasPreview

Check if the property has the preview enabled for this layer.

Returns Boolean (opens new window)