antvis / antvis/L7

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

Open
#2,598 1 comment 0 reactions 1 assignee Claimed by @lzxue View on GitHub
Dominant language
TypeScript
Stars
4.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

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

### 重现链接

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

### 重现步骤

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

### 预期行为

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

### 平台

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

### 屏幕截图或视频(可选)

![a5ed8f3e0fa34de2014580441b4feeb](https://github.com/user-attachments/assets/b842c057-ca91-47d2-9e1c-d6d934875a01)

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.