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

MVT线图层,设置过滤条件后,做颜色数据驱动,颜色显示有问题 #2598

Open
SuperHuZhiPeng opened this issue Aug 22, 2024 · 1 comment
Assignees

Comments

@SuperHuZhiPeng
Copy link

问题描述

MVT线图层,设置过滤条件后,只显示一个feature在地图上,然后设置颜色样式驱动,给显示的这个feature一个颜色,其他feature任意设置颜色,预期应该是显示的feature显示设置的颜色,但实际表现是这个feature上会有其他颜色

重现链接

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

重现步骤

进入页面,增大缩放级别,点击右上角的按钮

预期行为

我期望看到这个图层是绿色,但实际是彩色的

平台

操作系统: Windows网页浏览器:Google Chrome

屏幕截图或视频(可选)

a5ed8f3e0fa34de2014580441b4feeb

补充说明(可选)

No response

Copy link
Contributor

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

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

2 participants