3D地球飞行线-自我测试echarts lines3D配置项内容和展示

配置项如下
      $.getJSON('/asset/get/s/data-1483975567865-BJOcimZIg.json', function(data) {

    function getAirportCoord(idx) {
        return [data.airports[idx][3], data.airports[idx][4]];
    }
    var routes = data.routes.map(function(airline) {
        return [
            getAirportCoord(airline[1]),
            getAirportCoord(airline[2])
        ];
    });
   console.log(routes)
    myChart.setOption({
        backgroundColor: '#000',
       
        globe: {
            baseTexture: '/asset/get/s/data-1491837049070-rJZtl7Y6x.jpg',
            heightTexture: '/asset/get/s/data-1491889019097-rJQYikcpl.jpg',

            shading: 'lambert',

            light: {
                ambient: {
                    intensity: 0.4
                },
                main: {
                    intensity: 0.4
                }
            },

            viewControl: {
                autoRotate: false
            }
        },
        /*series: {

            type: 'lines3D',

            coordinateSystem: 'globe',

            blendMode: 'lighter',

            lineStyle: {
                width: 1,
                color: 'rgb(50, 50, 150)',
                opacity: 0.1
            },

            data: routes
        }*/
        series: [{
        type: 'lines3D',
         coordinateSystem: 'globe',
       effect: {
                show: true,
                trailWidth: 2,
                trailOpacity: 0.5,
                trailLength: 0.5,
                constantSpeed: 5
            },
        lineStyle: {
            width: 1,
            color: 'rgb(50, 50, 150)',
            opacity: 0.1
        },
        blendMode: 'lighter',
        data: routes
    }]
    });
});
    
截图如下