maptalks / maptalks/maptalks.js
[bug] the rectangle is not rendered and editable as a rectangle
Open
Nobody has claimed this yet.
bug
- 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?
1.00-rc12
Issue description
- Draw a rectangle using the rectangle drawing tool
- Render the rectangle and open the editor for the rectangle
- The right bottom angle is not 90 degree, i.e., the element is not a rectangle (see the pic above)
Please provide a reproduction URL (on any jsfiddle like site)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the rectangle drawing tool, then render the rectangle and open its editor as described. Trace the drawing and editing entry points to find why the right-bottom angle changes; done means the rendered, editable shape remains a true rectangle with 90-degree corners.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100