apache / echarts

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

[Bug] 电脑显示设置屏幕分辨率在非100%的情况下,地图上出现一条白线 #16535

Closed dingyangyang95 closed 2 years ago

dingyangyang95 commented 2 years ago

Version

5.3.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=effectScatter-bmap

Steps to Reproduce

1、修改电脑显示设置内的屏幕分辨率位125%,地图向右拖动即可复现。https://echarts.apache.org/examples/zh/editor.html?c=effectScatter-bmap

Current Behavior

可视化大屏

Expected Behavior

去掉白线

Environment

- OS:window10
- Browser:Chrome 98.0.4758.102(正式版本) (64 位)
- Framework:react 17.0.1

Any additional comments?

echarts-bot[bot] commented 2 years ago

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

TRANSLATED
**TITLE** [Bug] A white line appears on the map when the computer display is set to a non-100% screen resolution **BODY** ### Version 5.3.0 ### Link to Minimal Reproduction https://echarts.apache.org/examples/zh/editor.html?c=effectScatter-bmap ### Steps to Reproduce 1. Modify the screen resolution bit in the computer display settings by 125%, and drag the map to the right to reproduce. [https://echarts.apache.org/examples/zh/editor.html?c=effectScatter-bmap](url) ### Current Behavior Visualize the large screen ### Expected Behavior Remove the white line ### Environment ```markdown - OS:window10 - Browser: Chrome 98.0.4758.102 (official) (64-bit) - Framework:react 17.0.1 ``` ### Any additional comments? not
plainheart commented 2 years ago

这个是百度地图瓦片的问题,并非 ECharts 的渲染 bug。可以考虑用百度地图 3.0 版本的 mapStyleV2 来自定义底图样式。