This is an Bingmap extension for Apache ECharts
npm install echarts-extension-bingmaps --save
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';
- echarts-extension-bingmaps
- echarts-extension-azure-map
- echarts-extension-amap
- echarts-extension-gmap
- echarts-extension-bmap
Pull requests are welcomed. For major changes, please open an issue first to discuss what you would like to change.
andybuibui |