{"repo":"plainheart/echarts-extension-amap","free":true,"listed":false,"github":"https://github.com/plainheart/echarts-extension-amap","clone":"git clone https://github.com/plainheart/echarts-extension-amap.git","description":"🚩 An AMap (https://lbs.amap.com) extension for Apache ECharts (https://github.com/apache/echarts)","language":"JavaScript","stars":284,"topics":["echarts","amap","autonavi","data-visualization","map","gaode","echarts-amap","echarts4","amap-v2","amap-extension"],"license":"MIT","category":"analytics","readme_excerpt":"AMap extension for Apache ECharts 中文说明 Online example on CodePen This is an AMap extension for Apache ECharts which is used to display visualizations such as Scatter, Lines, Heatmap, and Pie. Examples Scatter: examples/scatter.html Heatmap: examples/heatmap.html Lines: examples/lines.html Pie: examples/pie.html ( Since v1.11.0 ) Installation Import Import packaged distribution file echarts-extension-amap.min.js and add AMap API script and ECharts script. You can also import this extension by require or import if you are using webpack or any other bundler. If importing dynamically the API script is needed, it's suggested to use amap-jsapi-loader or wrap a dynamic and asynchronized script loader manually through Promise . Use CDN jsDelivr Use the latest version https://cdn.jsdelivr.net/npm/echarts-extension-amap/dist/echarts-extension-amap.min.js Use a specific version https://cdn.jsdelivr.net/npm/echarts-extension-amap@1.12.0/dist/echarts-extension-amap.min.js unpkg Use the latest version https://unpkg.com/echarts-extension-amap/dist/echarts-extension-amap.min.js Use a specific version https://unpkg.com/echarts-extension-amap@1.12.0/dist/echarts-extension-amap.min.js This extension will register itself as a component of echarts after it is imported. Apache ECharts 5 import on demand Apache ECharts has provided us the new tree-shaking API since v5.0.1. This is how to use it in this extension: Usage","default_branch":null,"files":null,"tree":[],"storefront":"/r/plainheart","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/plainheart/echarts-extension-amap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}