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 00:56:26 UTC

[GitHub] [echarts] 18336380660 opened a new issue #16718: [Bug] angular 13 bmap Don't show

18336380660 opened a new issue #16718:
URL: https://github.com/apache/echarts/issues/16718


   ### Version
   
   5.3.1
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   angular 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
   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。。。。
   
   ### Current Behavior
   
   angular 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
   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。。。。
   
   ### Expected Behavior
   
   angular 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
   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。。。。
   
   ### Environment
   
   ```markdown
   angular 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
   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。。。。
   ```
   
   
   ### Any additional comments?
   
   angular 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
   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。。。。
   ![image](https://user-images.githubusercontent.com/33892229/159386592-c481613d-7b8d-47af-8f4f-f7e2cbb3b44e.png)
   


-- 
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