About echarts displaying maps of some provinces in China

demand point: the map shows the maps of Tianjin, Beijing and Hebei provinces / municipalities directly under the Central Government;
seeking knowledge: chart.setOption ({

)
series: [{
    type: "map",
    map: "china"
}]

});
the map of the whole of China can be drawn here, but the maps of Tianjin, Beijing and Hebei provinces / municipalities cannot be obtained;
chart.setOption ({

)
        series: [{
            type: "map",
            map: ""                                            
        }]

});
you can only get the map of Beijing here, but you can"t get the map of Tianjin, Beijing, and Hebei provinces / municipalities directly under the Central Government.

Mar.30,2021

just some time ago, the company made an echarts map provincial and municipal linkage
Demo: https://zcreturn0.github.io/e.
source code: https://github.com/ZCreturn0/.


Hello, only one Echarts can be selected for map. You can set the province you want to highlight in data.

map: 'china',
                itemStyle:{
                    emphasis:{label:{show:true}}
                },
                // 
                textFixed: {
                    Alaska: [20, -20]
                },
                data:[
                    {name: '', value: 4822023},
                    {name: '', value: 731449},
                    {name: '', value: 19317568}
                ]

I used this Demo

and then it opens the map of China by default. You can set its central location so that it can see three provinces

.
Menu