Modify whether the sources in a particular layer can be interactively selected by the user.

Sometimes you want to display a layer of sources, but you don't want the user to be able to click on them for interactive selection. This message helps you accomplish that.

See also ModifyAllSelectabilityMessage.

Hierarchy

  • ModifySelectabilityMessage

Properties

Properties

id: string

The identifier of the layer to modify.

selectable: boolean

Whether to make the layer selectable.

type: "modify_selectability"

The tag identifying this message type

Generated using TypeDoc