antvis / antvis/L7Plot

🐛 [BUG] 行政区划图 Choropleth 使用 update方法 更新 label.style.textAllowOverlap 不生效

Open
#343 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
91
Forks
21
PR merge metrics
No merged PRs in 30d

Description

新建Choropleth 图层;
动态切换label.style.textAllowOverlap 的值;
调用update方法 不生效;

线上复现demo:
[demo](https://codesandbox.io/p/sandbox/trusting-paper-djtv72?file=%2Fsrc%2Fcomponents%2FMap.vue%3A39%2C13)

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction, especially src/components/Map.vue around line 39. Reproduce the Choropleth update flow while changing label.style.textAllowOverlap, then trace the corresponding update entry point in L7Plot. Done means the label overlap setting takes effect after update.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.