echars-2.1.8扩展百度地图如何使用
rt,ECharts2.1.8提供了百度地图扩展.我也用标签引入了echarts-all.jsvarBMapExt=newBMapExtension(domMain,BM...
rt,ECharts2.1.8 提供了百度地图扩展.我也用标签引入了echarts-all.js
var BMapExt = new BMapExtension(domMain, BMap, require('echarts'), require('zrender'));
var map = BMapExt.getMap();
var container = BMapExt.getEchartsContainer();
var myChart = BMapExt.initECharts(container, curTheme);
运行网页时,始终显示
ReferenceError: BMapExtension is not defined
var BMapExt = new BMapExtension(domMain, BMap); 展开
var BMapExt = new BMapExtension(domMain, BMap, require('echarts'), require('zrender'));
var map = BMapExt.getMap();
var container = BMapExt.getEchartsContainer();
var myChart = BMapExt.initECharts(container, curTheme);
运行网页时,始终显示
ReferenceError: BMapExtension is not defined
var BMapExt = new BMapExtension(domMain, BMap); 展开
若以下回答无法解决问题,邀请你更新回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询