echarts-extension-bingmaps
v2.0.2
Published
bingmap for Apache ECharts (https://github.com/apache/echarts)
Downloads
15
Maintainers
Readme
Bingmap extension for Apache ECharts
This is an Bingmap extension for Apache ECharts
Warning:Migrating to Azure Map
Migrating to Echart Extension Azure Map
Installation
npm install echarts-extension-bingmaps --save
Import
Import packaged distribution file echarts-extension-bingmaps
and add BingMap API script and ECharts script.
<script src="https://www.bing.com/api/maps/mapcontrol?key=${your-bingmapkey}&setlang=zh-cn"></script>
<!-- import ECharts -->
<script src="https://fastly.jsdelivr.net/npm/echarts@5/dist/echarts.min.js"></script>
<!-- import echarts-extension-bingmaps -->
<script src="https://fastly.jsdelivr.net/npm/echarts-extension-bingmaps/dist/echarts-extension-bingmaps.min.js"></script>
You can also import this extension by require
or import
if you are using webpack
or any other bundler.
// use require
require('echarts');
require('echarts-extension-bingmaps');
// use import
import * as echarts from 'echarts';
import 'echarts-extension-bingmaps';
Examples
FlyChart
Heart Chart
Line Chart
Pie Chart
Scatter Chart
More Links
- echarts-extension-bingmaps
- echarts-extension-azure-map
- echarts-extension-amap
- echarts-extension-gmap
- echarts-extension-bmap
Contributing
Pull requests are welcomed. For major changes, please open an issue first to discuss what you would like to change.