Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

antv lv 加载在线瓦片地图显示会模糊 #2176

Closed
leidao opened this issue Dec 15, 2023 · 3 comments
Closed

antv lv 加载在线瓦片地图显示会模糊 #2176

leidao opened this issue Dec 15, 2023 · 3 comments
Assignees

Comments

@leidao
Copy link
Contributor

leidao commented Dec 15, 2023

问题描述

我使用了RasterLayer加载高德的在线瓦片地图,页面上的地图和文字显示模糊,该用GaodeMap加载高德地图,就没有模糊感。我猜想是不是canvas的width和height是其样式的宽高的两倍原因,导致加载的图片模糊?但是为什么使用GaodeMap不模糊呢?

重现链接

No response

重现步骤

No response

预期行为

这是加载的高德在线瓦片
image
这是使用G ao

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@leidao
Copy link
Contributor Author

leidao commented Dec 15, 2023

这是使用GaodeMap加载的地图
image

@lzxue
Copy link
Contributor

lzxue commented Dec 15, 2023

高德默认家长的是矢量图,
图片一般都有些模糊,可以 https://l7.antv.antgroup.com/api/source/raster_tile#zoomoffset 将 zoomoffset 设置为1 看看

@leidao
Copy link
Contributor Author

leidao commented Dec 15, 2023

谢谢,使用后确实有很大改善

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants