antvis / antvis/L7

L7 MapBox使用本地瓦片集,并且加载threejs模型出现问题求助

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

Description

### 问题描述

使用MapBox地图使用本地瓦片集,并且加载threejs模型出现问题, 加载模型的功能是可以了,但是这个模型不显示。如果使用高德地图,这个模型就出现了。可以点击重现链接里的按钮切换查看。我的需求是本地地图加三位模型显示

### 重现链接

https://stackblitz.com/edit/vitejs-vite-hifqjupb

https://vitejsvitehifqjupb-wv4k-omddo5cv--5173--fb22cd3d.local-corp.webcontainer.io/
### 重现步骤

_No response_

### 预期行为

_No response_

### 平台

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

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

_No response_

### 补充说明(可选)
访问地图会遇到Blocked loading mixed active content,要修改浏览器配置

对于Chrome和Chromium系列(如Edge、Opera等):

打开浏览器。

访问chrome://flags/。

在搜索框中输入“Mixed Content”。

找到“Allow invalid certificates for resources loaded from localhost”或类似的选项。

将此选项设置为“Enabled”。

重新启动浏览器。

对于Firefox:

打开Firefox。

输入about:config在地址栏并回车。

接受风险警告。

在搜索框中输入“mixed content”。

找到“security.mixed_content.block_active_content”选项。

双击该项,将其值改为false。

重启Firefox。

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.