antvis / antvis/L7

使用MapTheme和LayerSwitch控件时事件穿透

Open
#2,600 6 comments 1 reaction 1 assignee Claimed by @heiyexing View on GitHub
bug
Dominant language
TypeScript
Stars
4.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

我在地图上使用CityBuildingLayer,并对layer添加了点击事件,但使用MapTheme和LayerSwitch控件时,点击切换主题或图层事件穿透到map上的layer,触发layer的点击事件。

### 重现链接

_No response_

### 重现步骤

_No response_

### 预期行为

_No response_

### 平台

- 操作系统: [macOS]
- 网页浏览器: [Google Chrome]

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

_No response_

### 补充说明(可选)

_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.