echarts icon indicating copy to clipboard operation
echarts copied to clipboard

地图数据在线生成工具——市级地图相关问题

Open liangmucat opened this issue 9 years ago • 1 comments

One-line summary [问题简述]

以沈阳市为例,在下载js文件之前我选择了包含子区域的选项,在引入到我的页面里之后,只能看到一些重叠在一起的地域的名称。

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:Echarts 3
  • Browser version [浏览器类型和版本]:Chrome 54.0.2840.71 (64-bit)
  • OS Version [操作系统类型和版本]: Ubuntu 14.04

Expected behaviour [期望结果]

期望所有市级地图都能正常展示

ECharts option [ECharts配置项]

option = {
tooltip: {
            trigger: 'item',
            formatter: '{b}'
        },
        dataRange: {
            x: '-1000px',//图例横轴位置
            y: '-1000px',//图例纵轴位置
        },
        series: [
            {
                name: '沈阳',
                type: 'map',
                mapType: '沈阳市',
                selectedMode : 'single',
                label: {
                    normal: {
                        show: true
                    },
                    emphasis: {
                        show: true
                    }
                },
                itemStyle: {
                    normal: {
                        areaColor: '#cbf2fe',
                        borderColor: '#004d82',
                        borderWidth: '2'
                    }
                }
            }
        ]
}

Other comments [其他信息]

liangmucat avatar Mar 28 '17 07:03 liangmucat

https://github.com/ecomfe/echarts/issues/4379

Ovilia avatar Mar 29 '17 06:03 Ovilia