antvis / L7

🌎 Large-scale WebGL-powered Geospatial Data Visualization analysis engine.
https://l7.antv.antgroup.com
MIT License
3.63k stars 633 forks source link

MVT文本图层将textAllowOverlap设置为false在缩放地图时会失效 #2533

Open SuperHuZhiPeng opened 3 months ago

SuperHuZhiPeng commented 3 months ago

问题描述

在所给示例里面,点击关闭文本压盖,缩小地图,有时候避让的效果会失效

重现链接

https://stackblitz.com/edit/react-t6p3fz?file=index.js,index.html

重现步骤

1.进入页面 2.点击关闭文本遮盖 3.将地图缩放级别变小(缩小地图)

预期行为

我希望设置textAllowOverlap为false后不管怎么缩放地图,避让效果都应该存在

平台

屏幕截图或视频(可选)

image font

补充说明(可选)

No response

github-actions[bot] commented 3 months ago

Hi @SuperHuZhiPeng, Please star this repo if you find it useful! Thanks :star:! 你好~ @SuperHuZhiPeng 🌟 如果这个仓库对你有帮助,可以给我们点个star支持一下~你的支持对我们来说是最大的鼓励,感谢你的支持与点赞 🌟

SuperHuZhiPeng commented 3 months ago

geojson出图没问题,MVT出图存在该问题