1.在页面内引入需要使用的地图js文件node_modules/echarts/map/jseg:import'echarts/map/js/china';
2.如果选用省份,需要用汉字eg:options.geo.map='河南';
3.属性参考官网:/zh/option.html#geo
4.其他一些实例参考:/
var series = [];option = {tooltip: {trigger: 'item',backgroundColor: 'rgba(166, 200, 76, 0.82)',borderColor: '#FFFFCC',showDelay: 0,hideDelay: 0,enterable: true,transitionDuration: 0,extraCssText: 'z-index:100',},backgroundColor:"#013954",visualMap: { //图例值控制min: 0,max: 1,calculable: true,show: true,color: ['#f44336', '#fc9700', '#ffde00', '#ffde00', '#00eaff'],textStyle: {color: '#fff'}},geo: {map: 'china',//如果是省份,拼音不行可以尝试换成中文zoom: 1.2,label: {emphasis: {show: false}},roam: true, //是否允许缩放itemStyle: {normal: {color: 'rgba(51, 69, 89, .5)', //地图背景色borderColor: '#516a89', //省市边界线00fcff 516a89borderWidth: 1},emphasis: {color: 'rgba(37, 43, 61, .5)' //悬浮背景}}},series: series};