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

Migrate topojson.filter with spherical coordinate-system from previous API #24

Open
lorenzobruni opened this issue Oct 6, 2020 · 0 comments

Comments

@lorenzobruni
Copy link

Hi,

I need some help with moving to the new API v3 of Topojson.

In my working code I have the following line:

topojson.filter(topology, { "coordinate-system": "spherical" } );

How can I do the same in the new API v3?
By looking at the documentation I understand that the new topojson.filter(topology[, filter]) accepts a filter function rather than an object with a "coordinate-system"?

Thanks for any help or advice.

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

No branches or pull requests

1 participant