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

With reset for transform polygon #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sujathabharathi
Copy link

No description provided.

@w8r
Copy link
Owner

w8r commented Mar 4, 2020

Thank you for the PR @sujathabharathi , but I don't understand what it does, since all the changes are in the built and obfuscated code.

What did you change in the src folder and why?

@Falke-Design
Copy link

Falke-Design commented Feb 1, 2021

In my eyes this PR can be closed.

The wanted change is: _getBoundingPolygon:function(){ return new L.Rectangle(this._path.getBounds(),this.options.boundsOptions)}
I think because of: #34 (comment)

But this was not working for me when the layer was rotated. Because when the bounds are passed to L.Rectangle it is not rotated.
path_rotation

Edit:
This is not a nice solution but it is better then nothing. Now I use it too.

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.

3 participants