antvis / antvis/LarkMap

🤔 [QUESTION]天地图zoom后Marker偏移

Open
#249 0 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 [Please make everyone to understand it]
使用天地图添加Marker后,拖拽Marker仍保留正确位置,zoom后Marker偏移不在原来位置。查询后简单知道要设置Marker的offset,但是偏移要如何具体设置呢?
### 💻 Link to minimal reproduction

Please provide a link by forking these links [LarkMap](https://codesandbox.io/s/larkmap-issue-template-c9m1hr) or GitHub repo. What is a minimal reproduction, and why is it required?

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

- **LarkMap Version**:
- **Platform**:

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked LarkMap CodeSandbox template and reproduce the marker displacement after zooming with Tianditu. Then trace the marker and offset handling in the relevant TypeScript map components. Done means identifying the cause and providing a verified fix or precise guidance for keeping the marker in its original position.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.