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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
