You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/03/22 03:01:29 UTC
[GitHub] [echarts] 18336380660 edited a comment on issue #16713: [Bug] effectScatter-bmap,Downloading the sample will not open and will not display. Importing Angular from the sample code will not display
18336380660 edited a comment on issue #16713:
URL: https://github.com/apache/echarts/issues/16713#issuecomment-1073919643
Presents version 13
Echarts version 5.3.1 was introduced
Add it to angular.json
"node_modules/echarts/dist/echarts.min.js",
"Node_modules/echarts/dist/extension/bmap js." "
Added to main.ts
```ts
import * as echarts from 'echarts/core';
import 'echarts/dist/extension/bmap.min.js';
import _m from 'echarts/extension-src/bmap/BMapView';
import _v from 'echarts/extension-src/bmap/BMapModel';
import { version } from 'echarts/extension-src/bmap/bmap';
Added to module
NgxEchartsModule. ForRoot ({
echarts
}),
```
Added to index.ts
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=myak"></script>
The map is still not displayed。。。。

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org