Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Rectangle/Ellipse/Sector rotate not work #2130

Merged
merged 8 commits into from
Dec 13, 2023
Merged

Conversation

deyihu
Copy link
Collaborator

@deyihu deyihu commented Nov 22, 2023

@codecov-commenter
Copy link

codecov-commenter commented Nov 22, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (34cf41d) 83.65% compared to head (b3ffe93) 83.70%.

❗ Current head b3ffe93 differs from pull request most recent head 250c89f. Consider uploading reports for the commit 250c89f to get more accurate results

Files Patch % Lines
src/geometry/Geometry.js 90.00% 6 Missing ⚠️
src/geometry/Rectangle.js 50.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2130      +/-   ##
==========================================
+ Coverage   83.65%   83.70%   +0.04%     
==========================================
  Files         167      167              
  Lines       18579    18648      +69     
==========================================
+ Hits        15542    15609      +67     
- Misses       3037     3039       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -955,6 +966,65 @@ class Geometry extends JSONAble(Eventable(Handlerable(Class))) {
return this;
}

_rotatePrjCoordinates(coordinates) {
Copy link
Collaborator Author

@deyihu deyihu Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么旋转prj坐标而不是经纬度坐标?

@fuzhenn fuzhenn merged commit a3a6f5b into maptalks:master Dec 13, 2023
1 check passed
@deyihu deyihu deleted the 2129 branch December 13, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rectangle rotate not work
3 participants