antvis / antvis/L7

关于渲染的世界副本上,添加的元素或图层并未渲染问题

Open
#2,888 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

当地图的 center 移动到日界线做或右时,整个地图上的元素就会被切换显示到对应的哪侧,像是把地图以日界线为限制分开了两部分一样;这种表现跟高德JS SDK 原生的表现是一样的,那我怀疑 renderWorldCopies 这个 option 是否生效了呢?还是说这个 renderWorldCopies 字段就只是渲染地图副本,不渲染其他的?

### 重现链接

https://l7.antv.antgroup.com/zh/examples/gallery/story/#yidaiyilu

### 重现步骤

打开 https://l7.antv.antgroup.com/zh/examples/gallery/story/#yidaiyilu;
拖动地图在 日界线附近,左右横移,观察地图的线图层和点图层;

### 预期行为

预期是无缝显示的,类似于 mapbox 那种,在日界线附近也是可以展示的;

### 平台

- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]

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

_No response_

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue from the linked Yi Dai Yi Lu example and inspect how the renderWorldCopies option affects line and point layers when the map is dragged across the date line. Compare the behavior with the expected seamless rendering near the date line, then verify the result in the same example.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.