Ovilia closed pull request #8736: 完善文档 URL: https://github.com/apache/incubator-echarts/pull/8736
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/extension/bmap/README.md b/extension/bmap/README.md index 0bf1ec164..9c2499551 100644 --- a/extension/bmap/README.md +++ b/extension/bmap/README.md @@ -31,9 +31,11 @@ ECharts 百度地图扩展,可以在百度地图上展现 [点图](http://echa 如果是 webpack 打包,也可以 require 引入 +先在入口文件的`index.html`里引入百度地图的jssdk`<script src="http://api.map.baidu.com/api?v=2.0&ak="></script>`,然后 + ```js require('echarts'); -require('echarts/extension/bmap/bmap'); +require('echarts/extension/bmap/bmap'); // 或者require('echarts/dist/extension/bmap.min'); ``` 插件会自动注册相应的组件。 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
