maptalks / maptalks/examples

绘制流场时,与自定义会议区域图不重叠

Open
#116 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
73
Forks
32
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/18019985/154438024-0e7d84c5-08d6-4a90-b51b-a199edb5c73f.png)
如上图所示,怎么设置这个区块图的起点和流场的起点一致呢?区块图是一个个的方块绘制的,用经纬度坐标转屏幕坐标后,绘制出来的

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the mismatch shown in the attached image, comparing the custom block-map origin with the flow-field origin after longitude and latitude are converted to screen coordinates. Inspect the example's drawing entry points and verify that both layers use the same coordinate transformation; done means the block regions and flow field overlap consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
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.