apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.65k stars 19.61k forks source link

请问那个版本的eachrts ,使用bMap 可以设置 地图3D视角 #13907

Closed Cat-Wong closed 1 year ago

Cat-Wong commented 3 years ago

Version

4.8.0

Steps to reproduce

let bMap = MyCharts.getModel().getComponent('bmap').getBMap(); bMap.setHeading(64.5); bMap.setTilt(73);

What is expected?

请问那个版本的eachrts ,使用bMap 可以设置 地图3D视角。 百度的api是 以下两个方法。 map.setHeading(64.5); //设置地图旋转角度 map.setTilt(73); //设置地图的倾斜角度

What is actually happening?

Error in mounted hook: "TypeError: bMap.setHeading is not a function"

echarts-bot[bot] commented 3 years ago

Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

plainheart commented 3 years ago

3D百度地图应该需要百度地图 GL 版本支持,请引入 GL 库试试。https://lbsyun.baidu.com/index.php?title=jspopularGL

刚想起来百度地图GL命名空间(BMapGL)和百度地图(BMap) 不一样,当前 ECharts 百度地图扩展还不支持。

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] commented 1 year ago

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!