Feature: Marker Layer 能提供一个属性设置不同的 Marker 覆盖时的自动隐藏功能
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 656
- PR merge metrics
- No merged PRs in 30d
Description
* **L7 Version**:
* **Platform**:
* **Mini Showcase(like screenshots)**:
* **CodePen Link**:
需求:我们需要实现多行文本标注的居中显示和不同文字标注互相覆盖时的自动显示与隐藏。
遇到的问题(尝试的三个方案):
1. 使用单个 point layer 做文本标注,多行文本标注只能通过返回包括换行符的字符串实现,但无法做到多行文本标注居中;
2. 添加多个 point layer 实现多行文本标注,可以做到多行文本居中显示,但不同 point layer 的文本标注互相覆盖时并没有自动隐藏;
3. 使用 Marker Layer 实现,不同的 Marker 覆盖时也没有自动隐藏。
期望:Marker Layer 能提供一个属性设置不同的 Marker 覆盖时的自动隐藏功能。
Contributor guide
Research direction
Start by reading the Marker Layer and point-layer behavior described in the issue, focusing on multiline text centering and overlapping markers. Define the expected automatic hiding behavior and the property that controls it; done means overlapping Marker labels can be selectively hidden while multiline labels remain centered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100