Skip to content

v1.9.0

Compare
Choose a tag to compare
@plainheart plainheart released this 24 Feb 13:22
· 84 commits to master since this release

Refactoring the codebase and implementation to be compatible with Apache ECharts 5 use API.

  • [feat]: The requirement has been changed to echarts/lib/echarts from echarts.

  • [feat]: Two new options have been provided since this version.

    • echartsLayerInteractive whether ECharts layer is interactive. The default value is true.

      • Disable it to make AMap own layer interactive, for example, to click the markers or any other overlays on the map.
      • Note that this option is not supported in IE 10 or older.
    • largeMode whether to enable large mode. The default value is false.

      • Enable it to improve the performance and experience if the chart data is large.
  • [feat]: Two new formats of library have been provided since this version.

    • commonjs dist/echarts-extension-amap.cjs.js
    • esm dist/echarts-extension-amap.esm.js

Deprecated

  • echartsLayerZIndex has been deprecated, use echartsLayerInteractive instead.

NOTE

  • If you don't want this plugin to register itself automatically, you could import the install method from export.js or src/index.js
    and then register it manually.