DLFouge commented on issue #13991:
URL: 
https://github.com/apache/incubator-echarts/issues/13991#issuecomment-756754270


   > 能否提供更加完善的例子?我测试可以正常添加。
   > 
   > 
![图片](https://user-images.githubusercontent.com/26999792/104003200-12cd5180-51dd-11eb-8dee-c51b0f5d19ca.png)
   
   var chart = echarts.inite(document.getElementById("demo"));
   var option = {...}
   chart.setOption(option);
   var map = chart.getModel().getComponent('bmap').getBMap();
   const point = new BMap.Point(-0.51, 9.24);
       const myIcon = new 
BMap.Icon("http://lbsyun.baidu.com/jsdemo/img/fox.gif";, new BMap.Size(300, 
157));
       const marker = new BMap.Marker(point, {
           icon: myIcon
       }); 
       map.addOverlay(marker);


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to