@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 实例
参数
参数 | 类型 | 描述 |
---|---|---|
id | string | 图层 id |
ecOption | ECOption | ECharts 的配置选项 |
返回
EChartsLayer
属性
id
id:
string
A unique layer id.
实现了
maplibregl.CustomLayerInterface.id
方法
setOption()
setOption(
option
):void
设置配置项
参数
参数 | 类型 | 描述 |
---|---|---|
option | ECOption |
返回
void