antvis / antvis/L7VP

🐛 [BUG]Pyl7vp在JupyterLab中使用show()无法加载、显示地图和数据,保存成html文件打开后也无法正常加载显示

Open
#168 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
232
Forks
28
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Bug description [Please make everyone to understand it]

- _Required_ **Link to minimal reproduction**:

### 📷 Step to reproduce

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

- **Version**: pyl7vp:0.1.0,python:3.8
- **Platform**: Linux
在JupyterLab中使用pyl7vp官方quickstart.ipynb (https://github.com/antvis/L7VP/blob/master/bindings/pyl7vp/notebooks/quick-start.ipynb) 构建地图,地图无法显示。把生成的map.html下载下来,填上高德api key也不行。在官方提供的Google Colab (https://colab.research.google.com/github/antvis/L7VP/blob/master/bindings/pyl7vp/notebooks/quick-start.ipynb) 中在线测试,问题依旧。去年在相同环境下是可以正常使用的,最近想继续使用pyl7vp开发时,出现这个问题。

打开生成的map.html,控制台报错情况:

![Image](https://github.com/user-attachments/assets/0e667cc6-6509-4b5f-8e65-f2cafed339be)

在Colab中的问题截图(生成了一片空白):

![Image](https://github.com/user-attachments/assets/58156690-0d25-4d25-88c0-09e0e0b16bf5)

生成的map.html代码见附件(后缀改成了txt):

[map.html.txt](https://github.com/user-attachments/files/20357648/map.html.txt)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with bindings/pyl7vp/notebooks/quick-start.ipynb in JupyterLab and Google Colab, then inspect the generated map.html and its console error. Compare the attached map.html.txt and screenshots with the expected interactive map and data display; done means the notebook and saved HTML both load correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, python
Domain
data-visualization, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.