跳转到内容

@naivemap/maplibre-gl-echarts-layer v0.0.1-alpha.1


类: default

Integrate the Lines graph and Scatter (bubble) chart of Apache ECharts

实现

  • CustomLayerInterface

构造函数

构造函数

new default(id, ecOption): EChartsLayer

构造函数,用于初始化 EChartsLayer 实例

参数

参数类型描述
idstring图层 id
ecOptionECOptionECharts 的配置选项

返回

EChartsLayer

属性

id

id: string

A unique layer id.

实现了

maplibregl.CustomLayerInterface.id

方法

setOption()

setOption(option): void

设置配置项

参数

参数类型描述
optionECOption

返回

void