echart地图散点设置,symbolSize: 1,时会出现散点逐渐消失,symbolSize: 0.5就正常了

代码:


 series: [
        {
            type: 'scatter',
            postEffect: {
                enable: true
            },
            progressive: 0,
            coordinateSystem: 'geo',
            blendMode: 'lighter',
            large: true,
            silent: true,
            dimensions: ['lng', 'lat'],
            data: new Float32Array(),
            symbolSize: 1,
            /*symbolSize: function (val,params) {
                return val[2] * 1;
            },*/
            label: {
                normal: {
                    show: false
                },
                emphasis: {
                    show: false
                }
            },
            large: true,
            useWorker: true,
            steps: 2,
            itemStyle: {
                normal: {
                    shadowBlur: 10,
                    color: '#bad8ef',
                    shadowColor: '#258CF9'
                },
                emphasis: {
                    borderColor: '#fff',
                    borderWidth: 1
                }
            }
        }
    ]

一开始这样:
image.png

后面就剩下几个点了:
image.png

阅读 653
评论 2019-10-21 提问
    撰写回答

    登录后参与交流、获取后续更新提醒