Introducing the problem that echarts map rendering can not come out in vue

echarts, is installed through npm in the vue project
the case of using the map in echarts in the vue file is implemented according to the official case of echarts, map and data

clipboard.png

clipboard.png

clipboard.png

clipboard.png

clipboard.png
what if only the title, map and data are not rendered?

Mar.24,2021

first study Baidu map api, only echarts, does not load Baidu map is useless.
http://echarts.baidu.com/exam. has a download. Look at the source code. What js,
< script type=" text/javascript "src=" http://api.map.baidu.com/gets.;amp; are loaded. Ak=ZUONbpqGBsYGXNIYHicvbAbM&services=&t=20180629105706 "> script >
this is loading Baidu map js


where's your option? Isn't it all about setOption (option, true)


I also encountered it today. It seems to be the problem of Bmap attribute in option. After changing it to geo, it can be displayed. You can refer to this URL https://blog.csdn.net/shaxiao.

.
Menu