apache / apache/echarts

[Feature] 使用geo3d,渲染省市地区,需要给地区加点击事件

Open
#20,550 2 comments 0 reactions 0 assignees View on GitHub
new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
15h 17m
Merged PRs (30d)
5

Description

### What problem does this feature solve?

点击不同区域,获取区域的名称的和内容值,对于不同点击不同区域可以触发不同区域对应数据的展示

### What does the proposed API look like?

myChar.on("click",(params)=>{})

Contributor guide

Open the contributing guide

Research direction

Start by locating the geo3d province/city rendering entry point and compare it with the proposed myChar.on("click", (params) => {}) API. Confirm that clicking each region exposes its name and content value and can drive region-specific data display; the work is done when different regions trigger their corresponding behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.