Skip to content

andybuibui/echarts-extension-bingmaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bingmap extension for Apache ECharts

This is an Bingmap extension for Apache ECharts

NPM version NPM Downloads jsDelivr Downloads

346051349-c99c6b1a-36fa-4f13-91f4-9a770a2668af

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

image

Heart Chart

image

Line Chart

image

Pie Chart

image

Scatter Chart

image

More Links

Contributing

Pull requests are welcomed. For major changes, please open an issue first to discuss what you would like to change.

Creators ✨


andybuibui

License

MIT