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 2020/01/09 05:49:24 UTC

[GitHub] [incubator-echarts] Star-live opened a new issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Star-live opened a new issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js
URL: https://github.com/apache/incubator-echarts/issues/12005
 
 
   ### Version
   4.6.0
   
   ### Steps to reproduce
   根据提示引入dist/echarts.min.js和dist/extension/bmap.min.js,参考https://github.com/apache/incubator-echarts/tree/master/extension/bmap 和https://echarts.apache.org/examples/zh/editor.html?c=heatmap-bmap 编写以下前端代码
   ```javascript
   
   <script type="text/javascript" src='../static/js/jquery.min.js'></script>
   <script type="text/javascript" src='../static/js/bmap.min.js'></script>
   <script type="text/javascript" src='../static/js/echarts.min.js'></script>
   <script src="http://api.map.baidu.com/api?v=2.0&ak=***"></script>
   
   <script type="text/javascript">
       var myChart = echarts.init(document.getElementById('maps'))
   
       myChart.showLoading();
           $.get('../static/json/hangzhou-tracks.json', function (data) {
   
               var points = [].concat.apply([], data.map(function (track) {
                   return track.map(function (seg) {
                       return seg.coord.concat([1]);
                   });
               }));
               console.log(points);
               myChart.hideLoading();
               var option = {
                   animation: false,
                   bmap: {
                       center: [120.13066322374, 30.240018034923],
                       zoom: 14,
                       roam: true
                   },
                   visualMap: {
                       show: false,
                       top: 'top',
                       min: 0,
                       max: 5,
                       seriesIndex: 0,
                       calculable: true,
                       inRange: {
                           color: ['blue', 'blue', 'green', 'yellow', 'red']
                       }
                   },
                   series: [{
                       type: 'heatmap',
                       coordinateSystem: 'bmap',
                       data: points,
                       pointSize: 5,
                       blurSize: 6
                   }]
               };
               myChart.setOption(option);
              // 添加百度地图插件
               var bmap = myChart.getModel().getComponent('bmap').getBMap();
               bmap.addControl(new BMap.MapTypeControl());
       });
   </script>
   
   ```
   //tips:百度密钥在本地是可以正常使用的,此处用*号表示
   
   ### What is expected?
   希望能够生成和示例( https://echarts.apache.org/examples/zh/editor.html?c=heatmap-bmap )中相似的热力图效果
   
   ### What is actually happening?
   1. Uncaught TypeError: Cannot read property 'extendComponentModel' of undefined at bmap.min.js:22
   2. Uncaught TypeError: Cannot read property 'getBMap' of undefined
       at Object.success ((index):82)
       at j (jquery.min.js:2)
       at Object.fireWith [as resolveWith] (jquery.min.js:2)
       at x (jquery.min.js:4)
       at XMLHttpRequest.<anonymous> (jquery.min.js:4)
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] fwgood commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
fwgood commented on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-826017783


   同样的问题,通过CDN的


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

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


[GitHub] [echarts] z384647062 edited a comment on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
z384647062 edited a comment on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848472194


   > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   
   更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的模块引入之后未被调用,在webpack打包(我使用的umi)的时候被优化掉了;
   以下是我的解决方式(注意引用的顺序):
   ```typescript
   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';
   console.log(version, _m, _v); // 防止webpack优化
   ```


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

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


[GitHub] [echarts] z384647062 commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
z384647062 commented on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848486911


   > > > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   > > 
   > > 
   > > 更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的模块引入之后未被调用,在webpack打包(我使用的umi)的时候被优化掉了;
   > > 以下是我的解决方式(注意引用的顺序):
   > > ```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';
   > > console.log(version, _m, _v); // 防止webpack优化
   > > ```
   > 
   > Module not found: Error: Can't resolve 'echarts/extension-src/bmap/BMapView' 有遇到吗
   
   确认下node_modules目录下有是否有/echarts/extension-src/bmap/BMapView


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

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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js
URL: https://github.com/apache/incubator-echarts/issues/12005#issuecomment-572399882
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] aaronyyan commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
aaronyyan commented on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848461887


   @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了


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

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


[GitHub] [echarts] aaronyyan removed a comment on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
aaronyyan removed a comment on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848505223


   > > > > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   > > > 
   > > > 
   > > > 更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的模块引入之后未被调用,在webpack打包(我使用的umi)的时候被优化掉了;
   > > > 以下是我的解决方式(注意引用的顺序):
   > > > ```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';
   > > > console.log(version, _m, _v); // 防止webpack优化
   > > > ```
   > > 
   > > 
   > > Module not found: Error: Can't resolve 'echarts/extension-src/bmap/BMapView' 有遇到吗
   > 
   > 确认下node_modules目录下有是否有/echarts/extension-src/bmap/BMapView
   [https://tva1.sinaimg.cn/large/008i3skNgy1gqvtifhuu5j30f80fa75d.jpg](url) 目录下是有的,我换成`import _m from 'echarts/extension/bmap/BMapView';`可以


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

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


[GitHub] [echarts] z384647062 edited a comment on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
z384647062 edited a comment on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848472194


   > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   
   更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的模块引入之后未被调用,在webpack打包(我使用的umi)的时候被tree shaking掉了;
   以下是我的解决方式(注意引用的顺序):
   ```typescript
   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';
   console.log(version, _m, _v); // 防止webpack优化
   ```


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

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


[GitHub] [echarts] z384647062 edited a comment on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
z384647062 edited a comment on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848472194


   > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   
   更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的几个模块在webpack打包(我使用的umi)的时候被优化掉了;
   以下是我的解决方式(注意引用的顺序):
   ```typescript
   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';
   console.log(version, _m, _v); // 防止webpack优化掉
   ```


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

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


[GitHub] [echarts] z384647062 edited a comment on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
z384647062 edited a comment on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-829106080


   `echarts.min.js` 需要放在 `bmap.min.js` 之前引入,不然会报 echarts undefined
   
   ---
   
   另外,如果项目使用的打包环境,不要使用CDN方式引入 `echarts.min.js` 和 `bmap.min.js`,只需要引入一个 `http://api.map.baidu.com/api?v=2.0&ak=***`
   在代码中:
   ```typescript
   import * as echarts from 'echarts/core';
   import 'echarts/dist/extension/bmap.min.js';
   ```


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

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


[GitHub] [incubator-echarts] yufeng04 commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
yufeng04 commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js
URL: https://github.com/apache/incubator-echarts/issues/12005#issuecomment-572845521
 
 
   I can't reproduce this issue. Would you like to download this [file](https://echarts.apache.org/examples/zh/editor.html?c=heatmap-bmap) and try again?
   ![image](https://user-images.githubusercontent.com/22974511/72120660-9dddf680-3393-11ea-98f7-a50ea507c424.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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] z384647062 commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
z384647062 commented on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-829106080


   `echarts.min.js` 需要放在 `bmap.min.js` 之前引入,不然会报 echarts undefined
   
   ---
   
   另外,如果项目使用的打包环境,不要使用CDN方式引入 `echarts.min.js` 和 `bmap.min.js`,只需要引入一个 `http://api.map.baidu.com/api?v=2.0&ak=***`
   在代码中:
   ```typescript
   import * as echarts from 'echarts/core';
   import 'echarts/dist/extension/bmap.min.js'
   ```


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

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


[GitHub] [echarts] z384647062 commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
z384647062 commented on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848472194


   > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   
   更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的几个模块在webpack打包(我使用的umi)的时候被优化掉了;
   以下是我的解决方式:
   `
   import * as echarts from 'echarts/core';
   import _m from 'echarts/extension-src/bmap/BMapView';
   import _v from 'echarts/extension-src/bmap/BMapModel';
   import { version } from 'echarts/extension-src/bmap/bmap';
   `


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

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


[GitHub] [echarts] aaronyyan commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
aaronyyan commented on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848484056


   > > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   > 
   > 更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的模块引入之后未被调用,在webpack打包(我使用的umi)的时候被优化掉了;
   > 以下是我的解决方式(注意引用的顺序):
   > 
   > ```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';
   > console.log(version, _m, _v); // 防止webpack优化
   > ```
   
   Module not found: Error: Can't resolve 'echarts/extension-src/bmap/BMapView' 有遇到吗


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

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


[GitHub] [echarts] aaronyyan commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
aaronyyan commented on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848505223


   > > > > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   > > > 
   > > > 
   > > > 更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的模块引入之后未被调用,在webpack打包(我使用的umi)的时候被优化掉了;
   > > > 以下是我的解决方式(注意引用的顺序):
   > > > ```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';
   > > > console.log(version, _m, _v); // 防止webpack优化
   > > > ```
   > > 
   > > 
   > > Module not found: Error: Can't resolve 'echarts/extension-src/bmap/BMapView' 有遇到吗
   > 
   > 确认下node_modules目录下有是否有/echarts/extension-src/bmap/BMapView
   [https://tva1.sinaimg.cn/large/008i3skNgy1gqvtifhuu5j30f80fa75d.jpg](url) 目录下是有的,我换成`import _m from 'echarts/extension/bmap/BMapView';`可以


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

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


[GitHub] [echarts] aaronyyan commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
aaronyyan commented on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848506158


   > > > > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   > > > 
   > > > 
   > > > 更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的模块引入之后未被调用,在webpack打包(我使用的umi)的时候被优化掉了;
   > > > 以下是我的解决方式(注意引用的顺序):
   > > > ```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';
   > > > console.log(version, _m, _v); // 防止webpack优化
   > > > ```
   > > 
   > > 
   > > Module not found: Error: Can't resolve 'echarts/extension-src/bmap/BMapView' 有遇到吗
   > 
   > 确认下node_modules目录下有是否有/echarts/extension-src/bmap/BMapView
   
   https://tva1.sinaimg.cn/large/008i3skNgy1gqvtifhuu5j30f80fa75d.jpg 目录下是有的,我换成`import _m from 'echarts/extension/bmap/BMapView';`可以


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

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


[GitHub] [echarts] z384647062 edited a comment on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
z384647062 edited a comment on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-848472194


   > @z384647062 我现在版本是5.1.1,按照你说的引入,但是地图就没法出来了
   
   更新一下:我这边在开发环境下正常,生产环境下无法显示地图,可能是由于BMap的几个模块在webpack打包(我使用的umi)的时候被优化掉了;
   以下是我的解决方式:
   ```typescript
   import * as echarts from 'echarts/core';
   import _m from 'echarts/extension-src/bmap/BMapView';
   import _v from 'echarts/extension-src/bmap/BMapModel';
   import { version } from 'echarts/extension-src/bmap/bmap';
   console.log(version, _m, _v); // 防止webpack优化掉
   ```


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

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


[GitHub] [echarts] aninstein commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
aninstein commented on issue #12005:
URL: https://github.com/apache/echarts/issues/12005#issuecomment-803621843


   同样的问题,报同样的错,跟示例无关,就是bmap文件有问题。
   echarts版本:5.0.2


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

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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12005: Cannot read property 'extendComponentModel' of undefined at bmap.min.js

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12005:
URL: https://github.com/apache/incubator-echarts/issues/12005#issuecomment-616398426


   This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions.


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

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