You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/06/17 07:22:16 UTC

[GitHub] [echarts] baoqing1124 commented on issue #17221: [Bug] echarts使用bmap画线之后,使用bmap api添加marker marker的层级在line之下

baoqing1124 commented on issue #17221:
URL: https://github.com/apache/echarts/issues/17221#issuecomment-1158574358

   > 百度地图扩展暂时没有提供 API 用以控制 ECharts 图层的 z-index。不过有一个变通方法是获取到 ECharts 所在的百度地图自定义图层容器 DOM,然后设置其 z-index 低于 marker 所在图层 DOM 的 z-index。如:
   > 
   > ```js
   > myChart.getZr().painter.getViewportRoot().parentElement.style.zIndex = 300;
   > ```
   
   非常感谢!这个方法成功解决问题。


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org