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

Change all Circle arguments for 'radius' to 'area' #407

Closed
adnanhemani opened this issue Aug 7, 2019 · 3 comments · Fixed by #409
Closed

Change all Circle arguments for 'radius' to 'area' #407

adnanhemani opened this issue Aug 7, 2019 · 3 comments · Fixed by #409

Comments

@adnanhemani
Copy link
Member

This is to be consistent with how we've been drawing circles everywhere else around the Maps module

@papajohn
Copy link
Contributor

papajohn commented Aug 7, 2019 via email

@adnanhemani
Copy link
Member Author

The other place where this is partly used is in the radius argument of Circle. I do think that we need to be consistent across this because it makes no sense to have to instantiate a Circle using a radius parameter - while having to pass in the area of the circle as a column to the table when trying to recreate the same Circle using the map method.

So just to confirm, you think it would be better to change the Circle to only have an area property that can be changed rather than radius if we want to make everything consistent? Thanks for chiming in on this! :)

@papajohn
Copy link
Contributor

papajohn commented Aug 8, 2019 via email

@adnanhemani adnanhemani changed the title Marker.map should take in radius rather than area as a argument Change all Circle arguments for 'radius' to 'area' Aug 13, 2019
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 a pull request may close this issue.

2 participants