zhonggithub commented on issue #9687: 4.2.0版本如何动态添加地图标注
URL: 
https://github.com/apache/incubator-echarts/issues/9687#issuecomment-451426790
 
 
   在最后添加如下代码模拟动态添加标注,地图也会刷新
   setTimeout(() => {
   const tmp = option.series[0];
   tmp.markPoint.data.push({ name: '武汉', coord: [114.31, 30.52] });
   myChart.setOption(option)
   }, 5000)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to