apache / echarts

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

nuxt中使用echarts 的map和百度地图(bmap),渲染的geojson出现偏差,跟地图没有任何关系,拖动地图,geojson图形不会同时起移动 #14895

Closed benfaiht closed 1 year ago

benfaiht commented 3 years ago

Version

4.8.0

Steps to reproduce

option中的配置如下: bmap: { center: [105.348611, 40.581141], zoom: 4, geoIndex:1, roam: true, }, series: [ { name: name, type: 'map', roam:true, selectedMode:'multiple', zoom:1.5, mapType:name, // 自定义扩展图表类型 label: {show: false}, itemStyle:{areaColor:'rgba(225, 225, 225, 0)', borderWidth:0.1,borderType:'solid'}, data: this.series_data, },

What is expected?

渲染的geojson地图应该和百度地图保持一致

What is actually happening?

no

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 it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

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! 🍵

echarts-bot[bot] commented 3 years ago

@benfaiht It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗

TRANSLATED
**TITLE** Using echarts map and Baidu map (bmap) in nuxt, the rendered geojson is deviated and has nothing to do with the map. If you drag the map, the geojson graphics will not move at the same time. **BODY** ### Version 4.8.0 ### Steps to reproduce The configuration in option is as follows: bmap: { center: [105.348611, 40.581141], zoom: 4, geoIndex:1, roam: true, }, series: [ { name: name, type: 'map', roam:true, selectedMode:'multiple', zoom:1.5, mapType:name, // Custom extended chart type label: {show: false}, itemStyle:{areaColor:'rgba(225, 225, 225, 0)', borderWidth:0.1,borderType:'solid'}, data: this.series_data, }, ### What is expected? The rendered geojson map should be consistent with Baidu's map ### What is actually happening? no
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!