Skip to content

Conversation

AlimurtuzaCodes
Copy link
Contributor

@AlimurtuzaCodes AlimurtuzaCodes commented Jun 27, 2023

What does this PR do

Followed two steps as mentioned in the issue.

  • Update _findCorners in Draw.Rectangle
  • add rectangleAngle: 0 to the default Draw options: src/js/Draw/L.PM.Draw.js

Fixed Draw.Rectangle file in leaflet-geoman/src/js/Draw/L.PM.Draw.Rectangle.js

Issue Number- #1369

@Falke-Design
Copy link
Collaborator

Thank you for creating this PR. Do you think you are able to add a test for it too?

@Falke-Design Falke-Design linked an issue Jul 8, 2023 that may be closed by this pull request
2 tasks
@AlimurtuzaCodes
Copy link
Contributor Author

Thank you for creating this PR. Do you think you are able to add a test for it too?

I won't be able to add a test for this.

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.

Draw.Rectangle should use the same code to get the corners as Edit.Rectangle

3 participants