Popup 不兼容火狐浏览器
Open
bug
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 656
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述

event里feature字段的信息为null,获取不到该点的属性信息。

这个是在谷歌浏览器下的情况。
### 重现链接
_No response_
### 重现步骤
function addPopup(e) {
const str = `
${e.feature.name}
`;
const popup = new Popup({
offsets: [0, 0],
closeButton: true,
closeOnClick: true,
maxWidth: '300px'
})
.setLnglat(e.lngLat)
.setHTML(str);
scene.addPopup(popup);
}
### 预期行为
可以正常显示,在几个主流浏览器上
### 平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
### 屏幕截图或视频(可选)
_No response_
### 补充说明(可选)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.