Class: echartsLayer

L.supermap.echartsLayer

The Baidu echarts layer class.

L.supermap.echartsLayer(echartsOptions, options)

EChartsLayer.js, line 6
Name Type Description
echartsOptions Object

The optional parameters of the chart.

options Object

The optional parameters of this layer.

Name Type Default Description
loadWhileAnimating boolean false optional

Whether to draw in real time while moving.

attribution string '© 2017 百度 ECharts' optional

The copyright information.

Extends

Methods

setOption(echartsOptions, lazyUpdate, notMerge)

EChartsLayer.js, line 33

Set chart parameters.

Name Type Description
echartsOptions Object

Chart parameters.

lazyUpdate string

Backstage update automatically.

notMerge boolean optional

Whether or not to merge parameters.