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

clip: geojson #2243

Merged
merged 17 commits into from
Nov 22, 2024
Merged

clip: geojson #2243

merged 17 commits into from
Nov 22, 2024

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Nov 21, 2024

Note that one case escapes the memoization: the pointer transform creates a new context, and marks that use it get a second clip path.

closes #1109

src/mark.d.ts Outdated Show resolved Hide resolved
src/style.js Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

This is lovely!

Co-authored-by: Mike Bostock <[email protected]>
src/options.js Outdated Show resolved Hide resolved
src/options.js Outdated Show resolved Hide resolved
docs/features/marks.md Outdated Show resolved Hide resolved
src/context.d.ts Outdated Show resolved Hide resolved
src/mark.d.ts Outdated Show resolved Hide resolved
Fil and others added 3 commits November 22, 2024 18:44
Co-authored-by: Mike Bostock <[email protected]>
Co-authored-by: Mike Bostock <[email protected]>
src/options.js Outdated Show resolved Hide resolved
I wonder if we should still test for a type string or if doing the 10 tests is fast enough anyway
src/options.js Outdated Show resolved Hide resolved
src/style.js Outdated Show resolved Hide resolved
src/style.js Outdated Show resolved Hide resolved
Copy link
Member

@mbostock mbostock left a comment

Choose a reason for hiding this comment

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

Nice!

@Fil Fil merged commit 9b53a85 into main Nov 22, 2024
1 check passed
@Fil Fil deleted the fil/clip-geo branch November 22, 2024 22:30
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.

Arbitrary clip paths
2 participants