Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (19 loc) · 542 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 542 Bytes

ECharts Extension AMap

An echarts extension to support AMap(http://lbs.amap.com/), Ported from the offical echarts extension-bmap

https://github.com/ecomfe/echarts/tree/master/extension/bmap

Install

npm install -S echarts-amap

Get Started

Using Script Tag

See: index.html as example.

Using Webpack

var echarts = require('echarts')
require('echarts-amap')

var echart = echarts.init(document.getElementById('map'))
echart.setOption({
  ... // see the example above
})