antvis / antvis/LarkMap

🥰 [FEATURE] Support rotation for IconImageLayer

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

Description

### 💻 Features description

Different roation for each icon image in IconImageLayer.

### 🏞 What problem does this feature solve

Could add direction info on icons.

### 🧐 What does the proposed API look like
```json
"source": {
"data": [
{"x": 1, "y": 1, "angle": 30},
{"x": 2, "y": 2, "angle": 90}
]
}
```

### 🚑 Any additional [like screenshots]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the IconImageLayer implementation and the code that reads its source data. Use the proposed x, y, and angle values as the expected input, then verify that icons render with their individual rotations and that existing IconImageLayer behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, 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.