maptalks / maptalks/maptalks.js

new maptalks.ConnectorLine连接线指向不正确无法从起点指向终点

Open
#1,638 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
HTML
Stars
4.5k
Forks
511
Avg merge
3d 58m
Merged PRs (30d)
1

Description

**maptalks's version and what browser you use?**
----
maptalks v0.44.2
arcgis cgcs2000坐标系
**Issue description**
----
定义两个marker,然后使用line连接,但是连接线没有从起点指向终点。
两个marker的坐标分别是[547427.5319531534,4055581.615844485],[547437.4038000004,4055482.5535000004]
![image](https://user-images.githubusercontent.com/37506777/159145100-a4e959a4-86c8-4403-976f-2ceb740de467.png)

![image](https://user-images.githubusercontent.com/37506777/159145128-1c58d761-78e4-4539-b646-dbe01cb673ca.png)

**Please provide a reproduction URL (on any jsfiddle like site)**
----

Contributor guide

Open the contributing guide

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

Reproduce the issue with maptalks v0.44.2 using two markers at the coordinates given and a ConnectorLine, then compare the rendered line with the marker order. Confirm the coordinate system and determine whether the line reaches the intended start and end points; done means the connector consistently points from the first marker to the second.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
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.