Skip to main content
Glama

listLayers

Retrieve all available layers with their IDs, names, types, and visibility status from the 3D globe interface.

Instructions

获取当前所有图层列表(含 ID、名称、类型、可见性)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

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 }))
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gaopengbin/cesium-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server