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

Fixed confusing turf-union documentation #2732

Merged
merged 2 commits into from
Oct 26, 2024

Conversation

smallsaucepan
Copy link
Member

There has been some confusion about what parameters union expects - see #1669, #1900, #2377 and #2657.

Docs are now in sync with the signature of the union function, which definitely does accept multiple polygons or multipolygons.

Resolves #1900
Resolves #2377
Resolves #2657

Copy link
Collaborator

@twelch twelch left a comment

Choose a reason for hiding this comment

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

I see the switch in the jsdoc from Feature to FeatureCollection. That looks correct.

@smallsaucepan smallsaucepan merged commit 1dec2f2 into Turfjs:master Oct 26, 2024
3 checks passed
@smallsaucepan smallsaucepan deleted the union-docs branch November 22, 2024 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants