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 2019/12/02 09:53:02 UTC

[GitHub] [incubator-echarts] SeanSunPeng opened a new issue #11767: echarts结合高德获取实例时报错,Cannot read property 'getAMap' of undefined

SeanSunPeng opened a new issue #11767: echarts结合高德获取实例时报错,Cannot read property 'getAMap' of undefined
URL: https://github.com/apache/incubator-echarts/issues/11767
 
 
   <!--
   Please Use https://ecomfe.github.io/echarts-issue-helper to create the issue.
   Otherwise, it will be closed immediately.
   Questions in the form of *How to use ...* should be at Stack Overflow rather than GitHub issue list.
   
   请注意,所有 issue 必须由 https://ecomfe.github.io/echarts-issue-helper/ 创建,不然将会被直接关闭。建议使用英文提问。
   Issues 中不要问「如何使用 ECharts 实现……功能」的问题,相关问题请到 SegmentFault 或 Stack Overflow 提问,详见上面的链接。
   -->
   echarts结合高德地图,本来这个功能我写好了,也没动过,今天突然就崩了,打印后发现this.echartObj.getModel().getComponent("amap")为null,请问是为什么,我也没有更新echarts和高德的版本号,我实在不知道怎么排查这个问题了,我本来以为是高德key失效了,换了后还是一样的问题,很急,求解
    var amap = this.echart.getModel() .getComponent("amap") .getAMap();
   这句话先前是有效的,但突然在我没有更新echarts版本和高德版本的情况下就突然无效了,求解
   
   
   

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