Skip to content

Fixed confusing turf-union documentation#2732

Merged
smallsaucepan merged 2 commits intoTurfjs:masterfrom
smallsaucepan:union-docs
Oct 26, 2024
Merged

Fixed confusing turf-union documentation#2732
smallsaucepan merged 2 commits intoTurfjs:masterfrom
smallsaucepan:union-docs

Conversation

@smallsaucepan
Copy link
Copy Markdown
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
Copy Markdown
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
@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