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

Mask的精度丢失bug, 如果设置了offset, 那么在使用mask的时候, 在zoom变小后,mask会不准确,如果没有设置offset就没有这个问题 #2421

Closed
JianDNA opened this issue Sep 12, 2024 · 0 comments · Fixed by #2422
Labels

Comments

@JianDNA
Copy link

JianDNA commented Sep 12, 2024

maptalks's version and what browser you use?

maptalks v1.0.0-rc.37

Issue description

Mask的精度丢失bug, 如果设置了offset, 那么在使用mask的时候, 在zoom变小后,mask会不准确,如果没有设置offset就没有这个问题, 在动态处理瓦片的offset情况下, zoom越小,mask为Polygon的情况下边界精度越低

Please provide a reproduction URL (on any jsfiddle like site)

https://codepen.io/vusn/pen/yLdwWdQ
1X0U$S3@QH69` PL5Y9DV$E

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

Successfully merging a pull request may close this issue.

2 participants