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

d3.geoIdentity() doesn't implement projection.center #219

Open
wahlatlas opened this issue Oct 1, 2020 · 1 comment
Open

d3.geoIdentity() doesn't implement projection.center #219

wahlatlas opened this issue Oct 1, 2020 · 1 comment

Comments

@wahlatlas
Copy link

Is it by design, that d3.geoIdentity() doesn't implement projection.center?

Using Mike's example code for projection transition at
https://stackoverflow.com/questions/17045826/how-to-do-smooth-transition-for-map-reprojection-in-d3-js
I ran into problems transitioning from an identity projection.
Was easily fixed by disabling all references to projection.center
but wanted to understand what I am missing here.

Thanks!

@Fil
Copy link
Member

Fil commented Oct 8, 2020

it could probably be added—it would slow things down by two substractions—probably not even measurable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants