listLayers
Retrieve all available layers with their IDs, names, types, and visibility status from the 3D globe interface.
Instructions
获取当前所有图层列表(含 ID、名称、类型、可见性)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The actual implementation of listLayers in LayerManager, which maps the internal layers array to LayerInfo objects.
listLayers(): LayerInfo[] { return this._layers.map(({ id, name, type, visible, color, dataRefId }) => ({ id, name, type, visible, color, dataRefId })) }