Skip to content

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

Open
@SuperHuZhiPeng

Description

@SuperHuZhiPeng

问题描述

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions