antvis / antvis/LarkMap

🤔 How to correctly render data in json with geometry type MultiPolygon?

Open
#229 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

### 🐛 Question description
Polygon is ok,But MultiPolygon is error.

### 💻 Link to minimal reproduction
[LarkMap](https://codesandbox.io/p/sandbox/immutable-frog-msrrxx)

### 🏞 Expected result
![WX20240605-175232@2x](https://github.com/antvis/LarkMap/assets/16205030/72284d16-8ee2-4a18-849a-c9c9425d70b5)

### 🚑 Any additional [like screenshots]
![WX20240605-175923@2x](https://github.com/antvis/LarkMap/assets/16205030/6a1d61ee-99b1-4aa8-ab56-118fcf2f3b17)

- **LarkMap Version**: 1.4.13
- **Platform**: react 16

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked CodeSandbox reproduction and compare the working Polygon case with the failing MultiPolygon case in LarkMap 1.4.13 under React 16. Trace the geometry rendering path and verify that the reproduction displays MultiPolygon data correctly without regressing Polygon rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.