-
-
Notifications
You must be signed in to change notification settings - Fork 357
[Map] Add multipolygon support #2762
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
Conversation
It looks like you unchecked the "Allow edits from maintainer" box. That is fine, but please note that if you have multiple commits, you'll need to squash your commits into one before this can be merged. Or, you can check the "Allow edits from maintainers" box and the maintainer can squash for you. Cheers! Carsonbot |
6f614dd
to
a69ab63
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
Is it possible to have some preview of what it renders? Because I don't see anything on Leaflet website :/
Also, does it work with Google Maps?
@Kocal It is the example under “Additionally, you can pass a multi-dimensional array to represent a MultiPolygon shape.” with the outer ring and hole. Google Maps https://developers.google.com/maps/documentation/javascript/shapes#polygon_hole |
📊 Packages dist files size differenceThanks for the PR! Here is the difference in size of the packages dist files between the base branch and the PR.
|
55f536b
to
cebbf4e
Compare
@Kocal I pushed some changes. Is this fine or should I do something more? |
That's much better, thanks! :) Except the documentation/changelog things, that's great, I will try to find some time tonight to test your PR and some minor changes |
@Kocal Let me know if I need to change something :) |
As mentioned in #2762 (comment), can you please check the checkbox to allow maintainers to edit your PR's code? It would makes things much easier to work on. Thanks 🙏🏻 |
@Kocal I don’t see that option. I think this is because the fork is in a organisation? I have added you to the repo. |
Thank you @dannyvw. |
Add support for MultiPolygon https://leafletjs.com/reference.html#polygon & https://developers.google.com/maps/documentation/javascript/shapes?hl=fr#polygon_hole