Appearance
Layer List API
The layer list messages are used to track the layers currently present in the workspace and retrieve their corresponding IDs. This is helpful for obtaining an overview of the existing layers.
Get
The layerList/get
message retrieves the list of layers in the workspace along with their IDs.
Subscribe
The layerList/subscribe
message allows you to subscribe to updates regarding changes in the layer list. Whenever a new layer is added or an existing layer is removed, a notification will be sent back to the client.