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.geoCircle #3

Closed
mbostock opened this issue Mar 3, 2016 · 5 comments
Closed

d3.geoCircle #3

mbostock opened this issue Mar 3, 2016 · 5 comments

Comments

@mbostock
Copy link
Member

mbostock commented Mar 3, 2016

https://github.com/d3/d3/blob/v3.5.17/src/geo/circle.js

@chrisuehlinger
Copy link
Contributor

chrisuehlinger commented May 26, 2016

So in the README scaffold you checked in, you say that we might be moving d3.geoRotation() to the d3-geo-projection package. However, it (along with the spherical projection) are required for the current implementation of d3.geoCircle(). Should I take a crack at re-implementing d3.geoCircle without them or should we just include them in d3-geo.

Also, if d3.geoRotation() is getting the boot, are the "batteries included" projections like Mercator going with it?

@mbostock
Copy link
Member Author

Hadn’t thought that far ahead. I forgot that it was used by d3.geoCircle. If that’s the case, probably leave it in.

@chrisuehlinger
Copy link
Contributor

I've got a circle branch ready to go once rotation merges. However, in the README you seemed unsure whether you wanted to rename circle.origin and circle.angle to circle.center and circle.radius. Do you want me to rename them (I'm personally in favor, though I get why they were called those names originally) or do you want to think about it a bit longer?

@mbostock
Copy link
Member Author

mbostock commented Jun 6, 2016

Sure, a rename sounds fine.

@mbostock
Copy link
Member Author

Fixed by @chrisuehlinger in #21.

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