-
Notifications
You must be signed in to change notification settings - Fork 497
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
地图进行scale放大,导致地图模糊 #869
Labels
Comments
收到,能否帮忙写个jsfiddle给我?我好复现一下这个问题,并尝试改进一下 |
因为网络问题我这边用jsrun方便一点 |
fuzhenn
added a commit
that referenced
this issue
Apr 5, 2019
该功能已经添加,增加了devicePixelRatio设置: const map = new maptalks.Map('map', {
//....
devicePixelRatio: 2
}); |
OK,试过了,没有问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@fuzhenn 付镇老哥好,项目里面现在试图用scale的方式放大(2倍)地图解决容器太大带来的性能问题,但是会导致canvas严重模糊。echarts可以通过设置devicePixelRatio解决此类问题,想问问付镇老哥咱们的地图能不能也通过这个方式来进行优化(有尝试调整源码中的devicePixelRatio,但是没有生效)。谢谢!
The text was updated successfully, but these errors were encountered: