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 2021/03/25 11:51:24 UTC

[GitHub] [echarts] xjhjzxh opened a new issue #14533: BMap example not working, BMap example ES版示例代码不完整

xjhjzxh opened a new issue #14533:
URL: https://github.com/apache/echarts/issues/14533


   ### Version
   5.0.2
   
   ### Steps to reproduce
   https://echarts.apache.org/examples/zh/editor.html?c=heatmap-bmap
   Full Code-> ES Modules not working, BMap is not defined
   完整代码-> ES Modules 中的代码, 会报BMap is not defined, 请问该怎么引入
   
   ### What is expected?
   use ES modules code
   
   ### What is actually happening?
   BMap is not defined
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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



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


[GitHub] [echarts] plainheart commented on issue #14533: BMap example not working, BMap example ES版示例代码不完整

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


   既然知道是百度地图扩展,那么需要先引入 百度地图 API script,然后再加载图表。
   参考:https://github.com/apache/echarts/blob/master/extension-src/bmap/README.md


-- 
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] plainheart edited a comment on issue #14533: BMap example not working, BMap example ES版示例代码不完整

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


   既然知道是百度地图扩展,那么需要先引入 百度地图 API script,然后再加载图表。
   参考:https://github.com/apache/echarts/blob/master/extension-src/bmap/README.md
   
   如果想通过代码而不是 html script 引入,可以尝试利用 Promise 简单编写一个 script loader,可以参考[这里](https://github.com/plainheart/echarts-extension-gmap/issues/3#issuecomment-799873121)。


-- 
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] xjhjzxh closed issue #14533: BMap example not working, BMap example ES版示例代码不完整

Posted by GitBox <gi...@apache.org>.
xjhjzxh closed issue #14533:
URL: https://github.com/apache/echarts/issues/14533


   


-- 
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] echarts-bot[bot] commented on issue #14533: BMap example not working, BMap example ES版示例代码不完整

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






-- 
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] xjhjzxh commented on issue #14533: BMap example not working, BMap example ES版示例代码不完整

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


   > 既然知道是百度地图扩展,那么需要先引入 百度地图 API script,然后再加载图表。
   > 参考:https://github.com/apache/echarts/blob/master/extension-src/bmap/README.md
   > 
   > 如果想通过代码而不是 html script 引入,可以尝试利用 Promise 简单编写一个 script loader,可以参考[这里](https://github.com/plainheart/echarts-extension-gmap/issues/3#issuecomment-799873121)。
   
   非常感谢, 已经可以使用了


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